BuildableProjectConfig.StartBuild Method

Requests that a project begins the build process.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function StartBuild ( _
    pane As IVsOutputWindowPane, _
    options As UInteger _
) As Integer
'使用
Dim instance As BuildableProjectConfig
Dim pane As IVsOutputWindowPane
Dim options As UInteger
Dim returnValue As Integer

returnValue = instance.StartBuild(pane, _
    options)
public virtual int StartBuild(
    IVsOutputWindowPane pane,
    uint options
)
public:
virtual int StartBuild(
    IVsOutputWindowPane^ pane, 
    unsigned int options
)
public function StartBuild(
    pane : IVsOutputWindowPane, 
    options : uint
) : int

Parameters

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK, otherwise it returns an error code.

Implements

IVsBuildableProjectCfg.StartBuild(IVsOutputWindowPane, UInt32)

Remarks

The options defined for the options parameter are used to provide the project with information about the scope of the build. Rebuild requests that the project rebuild completely regardless of whether it is up to date. BuildSelectionOnly requests that only the selected items be built. BuildActiveDocumentOnly requests that only the most recent document to be worked on be built.

Permissions

See Also

Reference

BuildableProjectConfig Class

BuildableProjectConfig Members

Microsoft.VisualStudio.Package Namespace

StartBuildEx