Freigeben über


IVsSettingsStorageContainer.GetValue(String) Method

Definition

Gets a value for the specified key.

public:
 System::String ^ GetValue(System::String ^ key);
public:
 Platform::String ^ GetValue(Platform::String ^ key);
std::wstring GetValue(std::wstring const & key);
public string GetValue (string key);
abstract member GetValue : string -> string
Public Function GetValue (key As String) As String

Parameters

key
String

The key.

Returns

The value.

Remarks

GetValue and GetMultiKeyValue return E_INVALIDARG if there is no map entry with the given key name or if the name identifies a subcollection rather than a string. GetValue only searches values at the top level (not in subcollections).

Applies to