Поделиться через


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

'Declaration
Function StartBatchEdit As Integer
int StartBatchEdit()
int StartBatchEdit()
abstract StartBatchEdit : unit -> int 
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 CancelBatchEdit StartBatchEdit, 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.

.NET Framework Security

See Also

Reference

IVsProjectBuildSystem Interface

Microsoft.VisualStudio.Shell.Interop Namespace