Udostępnij za pośrednictwem


IVsUserContextItemProvider.GetProperty(Int32, Object) Method

Definition

Gets the specified project.

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

Parameters

property
Int32
pvar
Object

Returns

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

Remarks

COM Signature

From context.idl:

HRESULT IVsUserContextItemProvider::GetProperty(  
   [in] VSCIPPROPID property,   
   [out, retval] VARIANT * pvar  
);  

Applies to