IVsProjectBuildSystem.StartBatchEdit Method

Starts a batch operation with MSBuild.

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

Syntax

'宣言
Function StartBatchEdit As Integer
'使用
Dim instance As IVsProjectBuildSystem
Dim returnValue As Integer

returnValue = instance.StartBatchEdit()
int StartBatchEdit()
int StartBatchEdit()
function StartBatchEdit() : int

Return Value

Type: System.Int32

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

Remarks

The CancelBatchEditStartBatchEdit, and EndBatchEdit methods force the build system into batch mode. In batch mode, any changes or properties set after a call to StartBatchEdit are not committed to the IDE compilers until a call to EndBatchEdit.

Permissions

See Also

Reference

IVsProjectBuildSystem Interface

IVsProjectBuildSystem Members

Microsoft.VisualStudio.Shell.Interop Namespace