ITextBuffer::CreateEdit Method (EditOptions, Nullable<Int32>, Object^)
Visual Studio 2015
Creates an ITextEdit object that handles compound edit operations on this buffer.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
ITextEdit^ CreateEdit(
EditOptions options,
Nullable<int> reiteratedVersionNumber,
Object^ editTag
)
Parameters
- options
-
Type:
Microsoft.VisualStudio.Text::EditOptions
Options to apply to the compound edit operation.
- reiteratedVersionNumber
-
Type:
System::Nullable<Int32>
If not null, indicates that the version to be created by this edit operation is the product of an undo or redo operation.
- editTag
-
Type:
System::Object^
An object associated with this edit transaction.
| Exception | Condition |
|---|---|
| InvalidOperationException | Another ITextBufferEdit object is active for this text buffer. |
Show: