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> with get
function get TextLines () : ReadOnlyCollection<TextLine>
Property Value
Type: 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.