共用方式為


IVsBuildableProjectCfg2.StartBuildEx Method

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

Syntax

'宣告
Function StartBuildEx ( _
    dwBuildId As UInteger, _
    pIVsOutputWindowPane As IVsOutputWindowPane, _
    dwOptions As UInteger _
) As Integer
'用途
Dim instance As IVsBuildableProjectCfg2
Dim dwBuildId As UInteger
Dim pIVsOutputWindowPane As IVsOutputWindowPane
Dim dwOptions As UInteger
Dim returnValue As Integer

returnValue = instance.StartBuildEx(dwBuildId, _
    pIVsOutputWindowPane, dwOptions)
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: System.UInt32
    [in] Integer value identifying the build.
  • dwOptions
    Type: System.UInt32
    [in] Bit flags indicating build options. Dependent on the specific implementation.

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::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

IVsBuildableProjectCfg2 Members

Microsoft.VisualStudio.Shell.Interop Namespace