Condividi tramite


IVsCfgProvider2.GetCfgProviderProperty(Int32, Object) Method

Definition

Returns a specified configuration property.

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

Parameters

propid
Int32

[in] Specifies the property identifier for the property to return. For valid propid values, see __VSCFGPROPID.

pvar
Object

[out] Pointer to the returned property.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsCfgProvider2::GetCfgProviderProperty(  
   [in] VSCFGPROPID propid,  
   [out] VARIANT *pvar  
);  

Applies to