Share via


IVsBuildableProjectCfg2.GetBuildCfgProperty Method

Retrieve the value of a given build configuration property.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetBuildCfgProperty ( _
    propid As Integer, _
    <OutAttribute> ByRef pvar As Object _
) As Integer
int GetBuildCfgProperty(
    int propid,
    out Object pvar
)
int GetBuildCfgProperty(
    [InAttribute] int propid, 
    [OutAttribute] Object^% pvar
)
abstract GetBuildCfgProperty : 
        propid:int * 
        pvar:Object byref -> int
function GetBuildCfgProperty(
    propid : int, 
    pvar : Object
) : int

Parameters

  • propid
    Type: Int32

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

  • pvar
    Type: Object%

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

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsBuildableProjectCfg2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace