Method
TypedValueDictionary.GetValue
GetValue(string) #
Gets the value associated with the specified key.
public object? GetValue(string key)Parameters #
key string
The key of the value to get.
Returns #
The value associated with the specified key, or null if the key is not found.
GetValue<T>(string) #
Gets the value associated with the specified key, and converts it to the specified type.
public T? GetValue<T>(string key)Parameters #
key string
The key of the value to get.
Returns #
T?
The value associated with the specified key, converted to the specified type, or the default value for the type if the key is not found.
Type Parameters #
T
The type to convert the value to.