IVsSettingsStorageContainer.GetValue Method
Gets a value for the specified key.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function GetValue ( _
key As String _
) As String
string GetValue(
string key
)
String^ GetValue(
[InAttribute] String^ key
)
abstract GetValue :
key:string -> string
function GetValue(
key : String
) : String
Parameters
key
Type: StringThe key.
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
- 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.