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.| Visual Basic | |
|---|---|
Public Interface IEdmDictionary5 Inherits IEdmObject5 | |
| C# | |
|---|---|
public interface IEdmDictionary5 : IEdmObject5 | |
| C++/CLI | |
|---|---|
public interface class IEdmDictionary5 : public IEdmObject5 | |
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#)
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.