共用方式為


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

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