次の方法で共有


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

'宣言
ReadOnly Property EditBuffer As ITextBuffer
    Get
ITextBuffer EditBuffer { get; }
property ITextBuffer^ EditBuffer {
    ITextBuffer^ get ();
}
abstract EditBuffer : ITextBuffer
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