다음을 통해 공유


ITextBufferEdit.Cancel Method

Abandons all modifications started using this ITextBufferEdit object. Any further calls on this object will result in an InvalidOperationException.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

‘선언
Sub Cancel
void Cancel()
void Cancel()
abstract Cancel : unit -> unit 
function Cancel()

Exceptions

Exception Condition
InvalidOperationException

The Dispose method has previously been called on this object, or the edit has already been applied.

.NET Framework Security

See Also

Reference

ITextBufferEdit Interface

Microsoft.VisualStudio.Text Namespace