Partilhar via


Propriedade IWpfTextViewLine.TextLines

Obtém uma lista de linhas de texto que compõem a linha de texto formatado.

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

Sintaxe

'Declaração
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>

Valor de propriedade

Tipo: ReadOnlyCollection<TextLine>
Uma coleção de linhas de texto somente leitura.

Exceções

Exceção Condição
ObjectDisposedException

Isso IWpfTextViewLine foi descartado.

Segurança do .NET Framework

Consulte também

Referência

IWpfTextViewLine Interface

Namespace Microsoft.VisualStudio.Text.Formatting