Condividi tramite


IVsFindTarget.GetProperty(UInt32, Object) Method

Definition

Returns the value of a requested property.

public:
 int GetProperty(System::UInt32 propid, [Runtime::InteropServices::Out] System::Object ^ % pvar);
int GetProperty(unsigned int propid, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvar);
public int GetProperty (uint propid, out object pvar);
abstract member GetProperty : uint32 * obj -> int
Public Function GetProperty (propid As UInteger, ByRef pvar As Object) As Integer

Parameters

propid
UInt32

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

pvar
Object

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

Returns

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  
);  

Applies to