IVsProjectBuildSystem.CancelBatchEdit Method
Cancels an MSBuild batch edit.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function CancelBatchEdit As Integer
'Usage
Dim instance As IVsProjectBuildSystem
Dim returnValue As Integer
returnValue = instance.CancelBatchEdit()
int CancelBatchEdit()
int CancelBatchEdit()
function CancelBatchEdit() : 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.