DelegateValueDictionary<KeyType,ValueType> Class
Autodesk.DataManagement.Client.Framework›Autodesk.DataManagement.Client.Framework.Currency
A Dictionary in which the values can be replaced with a function that computes the value.
Syntax
public class DelegateValueDictionary<KeyType,ValueType>
Public Class DelegateValueDictionary
(Of KeyType,ValueType)
Properties
| Name | Description |
|---|
| Count | Gets the number of key/value pairs contained in the Dictionary |
| Item | Gets or sets the element with the specified key. |
| Keys | Gets an System.Collections.Generic.ICollection containing the keys of Dictionary |
| Values | Gets an System.Collections.Generic.ICollection containing the values in the Dictionary<TKey,TValue> |
Methods
| Name | Description |
|---|
| Add | Adds an element with the provided key and function which is used to compute the value |
| Add(KeyType,Func<KeyType,ValueType>) | Adds an element with the provided key and function which is used to compute the value |
| Add(KeyType,ValueType) | Adds an element with the provided key and value |
| Add(KeyValuePair<KeyType,ValueType>) | Adds an element with the provided key/value pair |
| Clear | Removes all keys and values from the Dictionary. |
| Contains | Determines whether the Dictionary contains an element with the key element of the specified key/value pair. |
| ContainsKey | Determines whether the Dictionary contains an element with the specified key. |
| GetEnumerator | Gets an enumerator of key/value pairs for all of the elements in the dictionary |
| Remove | Removes the element with the specified key from the Dictionary |
| Remove(KeyType) | Removes the element with the specified key from the Dictionary |
| Remove(KeyValuePair<KeyType,ValueType>) | Removes the element with the key component of the specified key/value pair from the Dictionary |
| TryGetValue | Gets the value associated with the specified key. |
Inheritance Hierarchy
- System.Object
- Autodesk.DataManagement.Client.Framework.Currency.DelegateValueDictionary<KeyType,ValueType>
See Also