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
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.