Method GetValue
GetValue(string)
Gets the value associated with the specified key.
public object? GetValue(string key)
Parameters
keystringThe key of the value to get.
Returns
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
keystringThe 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
TThe type to convert the value to.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語