IVsBuildableProjectCfg.QueryStartBuild Method
Determines whether or not a project is able to start a build operation.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
Function QueryStartBuild ( _
dwOptions As UInteger, _
<OutAttribute> pfSupported As Integer(), _
<OutAttribute> pfReady As Integer() _
) As Integer
'Utilisation
Dim instance As IVsBuildableProjectCfg
Dim dwOptions As UInteger
Dim pfSupported As Integer()
Dim pfReady As Integer()
Dim returnValue As Integer
returnValue = instance.QueryStartBuild(dwOptions, _
pfSupported, pfReady)
int QueryStartBuild(
uint dwOptions,
int[] pfSupported,
int[] pfReady
)
int QueryStartBuild(
[InAttribute] unsigned int dwOptions,
[OutAttribute] array<int>^ pfSupported,
[OutAttribute] array<int>^ pfReady
)
abstract QueryStartBuild :
dwOptions:uint32 *
pfSupported:int[] byref *
pfReady:int[] byref -> int
function QueryStartBuild(
dwOptions : uint,
pfSupported : int[],
pfReady : int[]
) : int
Parameters
- dwOptions
Type: System.UInt32
[in] Options governing the build process. Currently, there are no defined options and dwOptions is always zero.
- pfSupported
Type: array<System.Int32[]
[out, optional] Pointer to the flag that is set to true if the project supports building.
- pfReady
Type: array<System.Int32[]
[out, optional] Pointer to the flag that is set to true if the project is ready to start the build process. This flag is currently unused.
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 IVsBuildableProjectCfg::QueryStartBuild(
[in] DWORD dwOptions,
[out, optional] BOOL *pfSupported,
[out, optional] BOOL *pfReady
);
.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
IVsBuildableProjectCfg Interface