Partager via


ITextViewModel.VisualBuffer Property

Gets the ITextBuffer whose contents should be presented in the editor.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Text.ITextBuffer
The ITextBuffer whose contents should be presented in the editor.

Remarks

This text buffer may be the same as the EditBuffer or it may be a projection buffer or elision buffer whose ultimate source is the edit buffer.

.NET Framework Security

See Also

Reference

ITextViewModel Interface

Microsoft.VisualStudio.Text.Editor Namespace