Compartir a través de


ObservableSettingsListBase<TValue>.GetValueOrDefault(String) Method

Definition

protected:
 virtual ValueT GetValueOrDefault(System::String ^ key);
protected:
 virtual TValue GetValueOrDefault(System::String ^ key);
protected:
 virtual ValueT GetValueOrDefault(Platform::String ^ key);
 virtual ValueT GetValueOrDefault(std::wstring const & key);
protected virtual ValueT GetValueOrDefault (string key);
protected virtual TValue GetValueOrDefault (string key);
abstract member GetValueOrDefault : string -> 'ValueT
override this.GetValueOrDefault : string -> 'ValueT
abstract member GetValueOrDefault : string -> 'Value
override this.GetValueOrDefault : string -> 'Value
Protected Overridable Function GetValueOrDefault (key As String) As ValueT
Protected Overridable Function GetValueOrDefault (key As String) As TValue

Parameters

key
String

Returns

ValueT
TValue

Applies to