PropertyDefinitionDictionary Class
Autodesk.DataManagement.Client.Framework.Vault›Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties
This class is a collection (dictionary) of PropertyDefinition objects with a dual key. Each item in the collection has a "long" ID key and a "string" key. The long key is typically a database id, and can not be used to persist from session to session because migrations can cause the value to change. The "string" key is a system name that is unique across all PropertyDefinitions and can be persisted from session to session.
Syntax
public sealed class PropertyDefinitionDictionary Public NotInheritable Class PropertyDefinitionDictionary Constructors
| Name | Description |
|---|---|
| PropertyDefinitionDictionary | Creates an instance of a PropertyDefinitionDictionary |
Properties
| Name | Description |
|---|---|
| Count | Gets the number of PropertyDefinitions stored in the dictionary. |
| Item | Gets PropertyDefinition from the dictionary, or inserts a PropertyDefinition into the dictionary, by it's SystemName |
| Item(String) | Gets PropertyDefinition from the dictionary, or inserts a PropertyDefinition into the dictionary, by it's SystemName |
| Item(Int64) | Gets PropertyDefinition from the dictionary, or inserts a PropertyDefinition into the dictionary, by it's PropertyDefinition.Id |
| Keys | Gets all of the SystemName keys in the dictionary |
| Values | Gets all of the PropertyDefinition values stored in the dictionary |
Methods
| Name | Description |
|---|---|
| Add | Adds a PropertyDefinition to the dictionary |
| Add(String,PropertyDefinition) | Adds a PropertyDefinition to the dictionary |
| Add(IEnumerable<PropertyDefinition>) | Adds a collection of PropertyDefinition's to the dictionary |
| Add(KeyValuePair<String,PropertyDefinition>) | Adds a PropertyDefinition to the dictionary by a Key-Value Pair |
| Add(PropertyDefinition) | Adds a PropertyDefinition to the dictionary |
| Clear | Removes all of the contents of the dictionary |
| Contains | Tests if a PropertyDefinition is in the dictionary by a Key-Value Pair |
| ContainsKey | Tests if a PropertyDefinition with the specified SystemName exists in the dictionary. |
| ContainsKey(String) | Tests if a PropertyDefinition with the specified SystemName exists in the dictionary. |
| ContainsKey(Int64) | Tests if a PropertyDefinition with the specified PropertyDefinition.Id exists in the dictionary. |
| Remove | Removes a PropertyDefinition from the dictionary by it's SystemName |
| Remove(String) | Removes a PropertyDefinition from the dictionary by it's SystemName |
| Remove(Int64) | Removes a PropertyDefinition from the dictionary by it's PropertyDefinition.Id |
| Remove(KeyValuePair<String,PropertyDefinition>) | Removed a PropertyDefinition from the dictionary by Key-Value Pair |
| TryGetValue | Tries to retrieve a PropertyDefinition from the dictionary by it's SystemName |
Returned By
Where you get a PropertyDefinitionDictionary — members that return one.
Inheritance Hierarchy
- System.Object
- Autodesk.DataManagement.Client.Framework.Vault.Currency.Properties.PropertyDefinitionDictionary