다음을 통해 공유


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
int CancelBatchEdit()
int CancelBatchEdit()
abstract CancelBatchEdit : unit -> int
function CancelBatchEdit() : int

Return Value

Type: 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

See Also

Reference

IVsProjectBuildSystem Interface

Microsoft.VisualStudio.Shell.Interop Namespace