Condividi tramite


ITextViewModel.EditBuffer Property

Gets the ITextBuffer in which editing positions are tracked and to which edits are applied. All the text that appears in the view must reside in this buffer.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
ReadOnly Property EditBuffer As ITextBuffer
ITextBuffer EditBuffer { get; }
property ITextBuffer^ EditBuffer {
    ITextBuffer^ get ();
}
abstract EditBuffer : ITextBuffer with get
function get EditBuffer () : ITextBuffer

Property Value

Type: Microsoft.VisualStudio.Text.ITextBuffer
The ITextBuffer in which editing positions are tracked.

Remarks

This text buffer may be the same as the DataBuffer, or it may be a projection buffer or elision buffer whose ultimate source is the data buffer.

.NET Framework Security

See Also

Reference

ITextViewModel Interface

Microsoft.VisualStudio.Text.Editor Namespace