<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
IEdmDictionary5 Interface
See Also Members Example

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace : IEdmDictionary5 Interface

Visual Basic
C#
C++/CLI

Allows you to access key-value pairs of data in the SOLIDWORKS PDM Professional database.

NOTE: Click the Members link, located near the top of the topic, to see this interface's methods and properties.

# Syntax

Visual Basic |
--- | ---

    Public Interface IEdmDictionary5
       Inherits IEdmObject5

C# |
--- | ---

    public interface IEdmDictionary5 : IEdmObject5

C++/CLI |
--- | ---

    public interface class IEdmDictionary5 : public IEdmObject5

# Example

Change Card Variables Add-in (VB.NET)
Change Card Variables Add-in (C#)
Create and Delete Dictionaries (C#)
Create and Delete Dictionaries (VB.NET)
Get and Set Dictionary Key-Value Pairs (VB.NET)
Get and Set Dictionary Key-Value Pairs (C#)

# Remarks

This interface inherits from IEdmObject5. Call IEdmObject5::Name to get the name of the dictionary.

To access this interface, call IEdmVault5::GetObject, setting eType to EdmObjectType.EdmObject_Dictionary.

A dictionary in SOLIDWORKS PDM Professional stores data as key-value pairs. Each key is mapped to exactly one value. Both keys and values can be searched using this interface.

Note: Instead of using dictionaries, you can also use IEdmEnumeratorVariable5 to store data in card variables that are connected to files and folders. One advantage of this is that if the data is logically linked to files or folders, the data is deleted and copied whenever the files or folders are deleted or copied.

# Accessors

IEdmVault5::GetDictionary

IEdmVault5::GetObject

# See Also

####

IEdmDictionary5 Members
EPDM.Interop.epdm Namespace