共用方式為


ITextView.TextBuffer Property

Gets the ITextBuffer whose text is rendered in this view.

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

Syntax

'宣告
ReadOnly Property TextBuffer As ITextBuffer
ITextBuffer TextBuffer { get; }
property ITextBuffer^ TextBuffer {
    ITextBuffer^ get ();
}
abstract TextBuffer : ITextBuffer
function get TextBuffer () : ITextBuffer

Property Value

Type: Microsoft.VisualStudio.Text.ITextBuffer
The text buffer.

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace