Dela via


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: String

    [in] Name of the property.

Return Value

Type: Object
The value of the property. If the property is not in the bag, then E_INVALIDARG is returned.

.NET Framework Security

See Also

Reference

IVsPropertyBag Interface

Microsoft.VisualStudio.Shell.Interop Namespace