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
'Déclaration
ReadOnly Property TextLines As ReadOnlyCollection(Of TextLine)
Get
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.