次の方法で共有


IVsSolution2.GetProperty(Int32, Object) Method

Definition

Returns the specified property of the solution.

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

Parameters

propid
Int32

[in] Property identifier for the required property information. For a list of propid values, see __VSPROPID.

pvar
Object

[out] Pointer to property information.

Returns

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

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolution2::GetProperty(  
   [in] VSPROPID propid,   
   [out] VARIANT *pvar  
);  

Applies to