Partager via


ITextBufferEdit.Cancel Method

Definition

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

public:
 void Cancel();
public:
 void Cancel();
void Cancel();
public void Cancel ();
abstract member Cancel : unit -> unit
Public Sub Cancel ()

Exceptions

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

Applies to