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
'Declaration
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
- 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.