IVsSettingsStorageContainer.GetValue(String) 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 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).