IKeyValueStorage.GetValue<T>(String, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets current value from the storage
public:
generic <typename T>
T GetValue(System::String ^ key, T defaultValue);
public T GetValue<T> (string key, T defaultValue);
abstract member GetValue : string * 'T -> 'T
Public Function GetValue(Of T) (key As String, defaultValue As T) As T
Type Parameters
- T
Parameters
- key
- String
- defaultValue
- T
Returns
T