Share via


TextLineCollection Classe

Définition

Classe de base abstraite pour TextLine les collections.

public ref class TextLineCollection abstract : System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Text::TextLine>, System::Collections::Generic::IReadOnlyCollection<Microsoft::CodeAnalysis::Text::TextLine>, System::Collections::Generic::IReadOnlyList<Microsoft::CodeAnalysis::Text::TextLine>
public abstract class TextLineCollection : System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Text.TextLine>, System.Collections.Generic.IReadOnlyCollection<Microsoft.CodeAnalysis.Text.TextLine>, System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.Text.TextLine>
type TextLineCollection = class
    interface IReadOnlyList<TextLine>
    interface seq<TextLine>
    interface IEnumerable
    interface IReadOnlyCollection<TextLine>
Public MustInherit Class TextLineCollection
Implements IEnumerable(Of TextLine), IReadOnlyCollection(Of TextLine), IReadOnlyList(Of TextLine)
Héritage
TextLineCollection
Implémente

Constructeurs

TextLineCollection()

Classe de base abstraite pour TextLine les collections.

Propriétés

Count

Nombre d’éléments TextLine dans la collection

Item[Int32]

Obtient l’élément TextLine à l’index spécifié.

Méthodes

GetEnumerator()

Classe de base abstraite pour TextLine les collections.

GetLineFromPosition(Int32)

Obtient une TextLine valeur qui englobe la position du caractère.

GetLinePosition(Int32)

Obtient une LinePosition position de caractère correspondant.

GetLinePositionSpan(TextSpan)

Convertir un TextSpanLinePositionSpanen un .

GetPosition(LinePosition)

Convertissez-en LinePosition une position.

GetTextSpan(LinePositionSpan)

Convertir en LinePositionSpanTextSpan.

IndexOf(Int32)

Index de La ligne de texte qui englobe la position du caractère.

Implémentations d’interfaces explicites

IEnumerable.GetEnumerator()

Classe de base abstraite pour TextLine les collections.

IEnumerable<TextLine>.GetEnumerator()

Classe de base abstraite pour TextLine les collections.

S’applique à