Freigeben über


IWpfTextViewLine.TextLines Property

Gets a list of text lines that make up the formatted text line.

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

Syntax

'Declaration
ReadOnly Property TextLines As ReadOnlyCollection(Of TextLine)
ReadOnlyCollection<TextLine> TextLines { get; }
property ReadOnlyCollection<TextLine^>^ TextLines {
    ReadOnlyCollection<TextLine^>^ get ();
}
abstract TextLines : ReadOnlyCollection<TextLine>
function get TextLines () : ReadOnlyCollection<TextLine>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<TextLine>
A read-only collection of text lines.

Exceptions

Exception Condition
ObjectDisposedException

this IWpfTextViewLine has been disposed.

.NET Framework Security

See Also

Reference

IWpfTextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace