IVsPropertyBag.GetValue Method
Retrieves the value of a named property from the property bag.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function GetValue ( _
szName As String _
) As Object
Object GetValue(
string szName
)
Object^ GetValue(
[InAttribute] String^ szName
)
abstract GetValue :
szName:string -> Object
function GetValue(
szName : String
) : Object
Parameters
szName
Type: System.String[in] Name of the property.
Return Value
Type: System.Object
The value of the property. If the property is not in the bag, then E_INVALIDARG is 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.