Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As IVsBuildableProjectCfg2
Dim propid As Integer
Dim pvar As Object
Dim returnValue As Integer
returnValue = instance.GetBuildCfgProperty(propid, _
pvar)
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: System.Int32
[in] A __VSBLDCFGPROPID enumeration value designating the property value to return.
- 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.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsBuildableProjectCfg2::GetBuildCfgProperty(
[in] VSBLDCFGPROPID propid,
[out] VARIANT *pvar
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsBuildableProjectCfg2 Interface