다음을 통해 공유


IVsFindTarget.GetProperty Method

Returns the value of a requested property.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function GetProperty ( _
    propid As UInteger, _
    <OutAttribute> ByRef pvar As Object _
) As Integer
int GetProperty(
    uint propid,
    out Object pvar
)
int GetProperty(
    [InAttribute] unsigned int propid, 
    [OutAttribute] Object^% pvar
)
abstract GetProperty : 
        propid:uint32 * 
        pvar:Object byref -> int
function GetProperty(
    propid : uint, 
    pvar : Object
) : int

Parameters

  • propid
    Type: System.UInt32

    [in] Property identifier of the requested property. Values are taken from the __VSFTPROPID enumeration.

  • pvar
    Type: System.Object%

    [out, retval] Specified property information returned in a variant.

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 textmgr.idl:

HRESULT IVsFindTarget::GetProperty(
   [in] VSFTPROPID propid,
   [out, retval] VARIANT *pvar
);

.NET Framework Security

See Also

Reference

IVsFindTarget Interface

Microsoft.VisualStudio.TextManager.Interop Namespace