Condividi tramite


IVsBuildableProjectCfg2.GetBuildCfgProperty(Int32, Object) Method

Definition

Retrieve the value of a given build configuration property.

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

Parameters

propid
Int32

[in] A __VSBLDCFGPROPID enumeration value designating the property value to return.

pvar
Object

[out] Pointer to a variant containing the property value.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsBuildableProjectCfg2::GetBuildCfgProperty(  
   [in] VSBLDCFGPROPID propid,   
   [out] VARIANT *pvar  
);  

Applies to