Share via


IKeyValueStorage.GetValue<T>(String, T) Method

Definition

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

Applies to