Dela via


IVsStringMap.GetValue Method

Returns the value for a named key.

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

Syntax

'Declaration
Function GetValue ( _
    szKey As String, _
    <OutAttribute> ByRef pbstrValue As String _
) As Integer
int GetValue(
    string szKey,
    out string pbstrValue
)
int GetValue(
    [InAttribute] String^ szKey, 
    [OutAttribute] String^% pbstrValue
)
abstract GetValue : 
        szKey:string * 
        pbstrValue:string byref -> int
function GetValue(
    szKey : String, 
    pbstrValue : String
) : int

Parameters

  • szKey
    Type: String

    [in] The key.

  • pbstrValue
    Type: String%

    [out] The value.

Return Value

Type: Int32
Returns S_OK if the value was returned.

.NET Framework Security

See Also

Reference

IVsStringMap Interface

Microsoft.VisualStudio.Shell.Interop Namespace