Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateEdit Method (EditOptions, Nullable(Int32), Object)
Collapse the table of content
Expand the table of content

ITextBuffer.CreateEdit Method (EditOptions, Nullable<Int32>, Object)

Creates an ITextEdit object that handles compound edit operations on this buffer.

Namespace:  Microsoft.VisualStudio.Text
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.

Return Value

Type: Microsoft.VisualStudio.Text.ITextEdit
A new ITextEdit object.

ExceptionCondition
InvalidOperationException

Another ITextBufferEdit object is active for this text buffer.

Show:
© 2015 Microsoft