Поделиться через


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

See Also

Reference

ITextBuffer Interface

CreateEdit Overload

Microsoft.VisualStudio.Text Namespace