IWpfTextViewLine.TextLines, propriété
Obtient une liste de lignes de texte qui composent la ligne de texte mis en forme.
Espace de noms : Microsoft.VisualStudio.Text.Formatting
Assembly : Microsoft.VisualStudio.Text.UI.Wpf (dans Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntaxe
'Déclaration
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>
Valeur de propriété
Type : ReadOnlyCollection<TextLine>
Une collection en lecture seule de lignes de texte.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | cet IWpfTextViewLine a été supprimé. |
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.