Compartir a través de


IVsOutput2.get_Property Method

Returns a property of an output item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.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: String

    [in] Pointer to the property to be returned.

  • pvar
    Type: Object%

    [out] Pointer to a VARIANT that holds the value of the property identified by szProperty.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

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

This method handles coordination between third-party projects and their deployment plug-ins. The property and its variant type are known to both entities.

.NET Framework Security

See Also

Reference

IVsOutput2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace