OptionsDictionary Methods |
The OptionsDictionary type exposes the following members.
Name | Description | |
---|---|---|
Add(KeyValuePairString, Object) | Adds an item to the ICollectionT. | |
Add(String, Object) | Adds an element with the provided key and value to the IDictionaryTKey, TValue. | |
Clear | Removes all items from the ICollectionT. | |
Contains | Determines whether the ICollectionT contains a specific value. | |
ContainsKey | Determines whether the IDictionaryTKey, TValue contains an element with the specified key. | |
CopyTo | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(KeyValuePairString, Object) | Removes the first occurrence of a specific object from the ICollectionT. | |
Remove(String) | Removes the element with the specified key from the IDictionaryTKey, TValue. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue | Gets the value associated with the specified key. |
Name | Description | |
---|---|---|
GetCastT(String) | Overloaded.
Gets the value for the given key as the given type, or the compiler default value
if the value does not exist or is the incorrect type
(Defined by Extensions.) | |
GetCastT(String, T) | Overloaded.
Gets the value for the given key as the given type, or a default value
if the value does not exist or is the incorrect type
(Defined by Extensions.) | |
TryGetValueT |
Tries to get the value for the given key as the given type
(Defined by Extensions.) |