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)


Function GetBuildCfgProperty ( _
    propid As Integer, _
    <OutAttribute> ByRef pvar As Object _
) As Integer
‘사용 방법
Dim instance As IVsBuildableProjectCfg2
Dim propid As Integer
Dim pvar As Object
Dim returnValue As Integer

returnValue = instance.GetBuildCfgProperty(propid, _
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


  • pvar
    Type: System.Object%
    [out] Pointer to a variant containing the property value.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From vsshell80.idl:

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

.NET Framework Security

See Also


IVsBuildableProjectCfg2 Interface

IVsBuildableProjectCfg2 Members

Microsoft.VisualStudio.Shell.Interop Namespace