ITextBuffer.CreateEdit Method
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
'Декларация
Function CreateEdit As ITextEdit
ITextEdit CreateEdit()
ITextEdit^ CreateEdit()
abstract CreateEdit : unit -> ITextEdit
function CreateEdit() : ITextEdit
Return Value
Type: Microsoft.VisualStudio.Text.ITextEdit
A new ITextEdit object.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Another ITextBufferEdit object is active for this text buffer. |
Remarks
This method is equivalent to CreateEdit(EditOptions.None, null, null).
.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.