Partager via


IVsPropertyPage2.GetProperty(UInt32, Object) Method

Definition

Gets the information for the specified 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. For a list of propid values, see __VSPPPID.

pvar
Object

[out] Property information is passed back to the caller through this parameter.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsPropertyPage2::GetProperty(  
   [in] VSPPPID propid,   
   [out] VARIANT *pvar  
);  

Applies to