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: System.String[in] The key.
pbstrValue
Type: System.String%[out] The value.
Return Value
Type: System.Int32
Returns S_OK if the value was returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.