次の方法で共有


IVsSettingsStorageContainer.GetMultiKeyValue(String[], Int32) Method

Definition

Gets a multi-key value.

public:
 System::String ^ GetMultiKeyValue(cli::array <System::String ^> ^ keys, int keyCount);
public:
 Platform::String ^ GetMultiKeyValue(Platform::Array <Platform::String ^> ^ keys, int keyCount);
std::wstring GetMultiKeyValue(std::Array <std::wstring const &> const & keys, int keyCount);
public string GetMultiKeyValue (string[] keys, int keyCount);
abstract member GetMultiKeyValue : string[] * int -> string
Public Function GetMultiKeyValue (keys As String(), keyCount As Integer) As String

Parameters

keys
String[]

The keys.

keyCount
Int32

The number of keys.

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