Share via


IVsDeployDependency2.get_Property Method

Gets the value of a dependency property.

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

Syntax

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

Parameters

  • szProperty
    Type: System.String

    [in] String containing the name of the property.

  • pvar
    Type: System.Object%

    [out] Pointer to a variant containing the property value.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsDeployDependency2::get_Property(
   [in] LPCOLESTR szProperty, 
   [out] VARIANT* pvar
);

.NET Framework Security

See Also

Reference

IVsDeployDependency2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace