Class OpaqueDataDictionary
[ContentSerializerCollectionItemName("Data")]
public sealed class OpaqueDataDictionary : NamedValueDictionary<object>, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
- Inheritance
-
OpaqueDataDictionary
- Implements
- Inherited Members
Methods
GetValue<T>(string, T)
Get the value for the specified key
public T GetValue<T>(string key, T defaultValue)
Parameters
key
stringdefaultValue
T
Returns
- T
The item cast as T, or the default value if the item is not present in the dictonary.
Type Parameters
T