Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.