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)
Syntax
'Declaration
Function CreateEdit ( _
    options As EditOptions, _
    reiteratedVersionNumber As Nullable(Of Integer), _
    editTag As Object _
) As ITextEdit
ITextEdit CreateEdit(
    EditOptions options,
    Nullable<int> reiteratedVersionNumber,
    Object editTag
)
ITextEdit^ CreateEdit(
    EditOptions options, 
    Nullable<int> reiteratedVersionNumber, 
    Object^ editTag
)
abstract CreateEdit : 
        options:EditOptions * 
        reiteratedVersionNumber:Nullable<int> * 
        editTag:Object -> ITextEdit
function CreateEdit(
    options : EditOptions, 
    reiteratedVersionNumber : Nullable<int>, 
    editTag : Object
) : ITextEdit
Parameters
options
Type: Microsoft.VisualStudio.Text.EditOptionsOptions to apply to the compound edit operation.
reiteratedVersionNumber
Type: Nullable<Int32>If not nulla null reference (Nothing in Visual Basic), indicates that the version to be created by this edit operation is the product of an undo or redo operation.
editTag
Type: ObjectAn object associated with this edit transaction.
Return Value
Type: Microsoft.VisualStudio.Text.ITextEdit
A new ITextEdit object.
Exceptions
| Exception | Condition | 
|---|---|
| InvalidOperationException | Another ITextBufferEdit object is active for this text buffer.  | 
.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.