Udostępnij za pośrednictwem


IVsBuildableProjectCfg2.StartBuildEx Method

Definition

Requests that a project begin building.

public:
 int StartBuildEx(System::UInt32 dwBuildId, Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ pIVsOutputWindowPane, System::UInt32 dwOptions);
public:
 int StartBuildEx(unsigned int dwBuildId, Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ pIVsOutputWindowPane, unsigned int dwOptions);
int StartBuildEx(unsigned int dwBuildId, Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane const & pIVsOutputWindowPane, unsigned int dwOptions);
public int StartBuildEx (uint dwBuildId, Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane pIVsOutputWindowPane, uint dwOptions);
abstract member StartBuildEx : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane * uint32 -> int
Public Function StartBuildEx (dwBuildId As UInteger, pIVsOutputWindowPane As IVsOutputWindowPane, dwOptions As UInteger) As Integer

Parameters

dwBuildId
UInt32

[in] Integer value identifying the build.

pIVsOutputWindowPane
IVsOutputWindowPane

[in] Pointer to an IVsOutputWindowPane interface for the output window.

dwOptions
UInt32

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

Returns

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.

Applies to