Freigeben über


IVsSettingsStorageContainer.GetMultiKeyValue Method

Gets a multi-key value.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Function GetMultiKeyValue ( _
    keys As String(), _
    keyCount As Integer _
) As String
string GetMultiKeyValue(
    string[] keys,
    int keyCount
)
String^ GetMultiKeyValue(
    [InAttribute] array<String^>^ keys, 
    [InAttribute] int keyCount
)
abstract GetMultiKeyValue : 
        keys:string[] * 
        keyCount:int -> string
function GetMultiKeyValue(
    keys : String[], 
    keyCount : int
) : String

Parameters

  • keys
    Type: array<String[]

    The keys.

  • keyCount
    Type: Int32

    The number of keys.

Return Value

Type: String
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).

.NET Framework Security

See Also

Reference

IVsSettingsStorageContainer Interface

Microsoft.VisualStudio.Shell.Interop Namespace