Partager via


IVsBuildableProjectCfg2.StartBuildEx Method

Requests that a project begin building.

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

Syntax

'Declaration
Function StartBuildEx ( _
    dwBuildId As UInteger, _
    pIVsOutputWindowPane As IVsOutputWindowPane, _
    dwOptions As UInteger _
) As Integer
int StartBuildEx(
    uint dwBuildId,
    IVsOutputWindowPane pIVsOutputWindowPane,
    uint dwOptions
)
int StartBuildEx(
    [InAttribute] unsigned int dwBuildId, 
    [InAttribute] IVsOutputWindowPane^ pIVsOutputWindowPane, 
    [InAttribute] unsigned int dwOptions
)
abstract StartBuildEx : 
        dwBuildId:uint32 * 
        pIVsOutputWindowPane:IVsOutputWindowPane * 
        dwOptions:uint32 -> int
function StartBuildEx(
    dwBuildId : uint, 
    pIVsOutputWindowPane : IVsOutputWindowPane, 
    dwOptions : uint
) : int

Parameters

  • dwBuildId
    Type: UInt32

    [in] Integer value identifying the build.

  • dwOptions
    Type: UInt32

    [in] Bit flags indicating build options. Dependent on the specific implementation.

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::StartBuildEx(
   [in] DWORD dwBuildId, 
   [in] IVsOutputWindowPane *pIVsOutputWindowPane, 
   [in] DWORD dwOptions
);

Notes to Implementers

Both the build identifier and the options bit flags are implementation dependent.

.NET Framework Security

See Also

Reference

IVsBuildableProjectCfg2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace