TextElementEnumerator.ElementIndex Vlastnost

Definice

Získá index textového prvku, který enumerátor je aktuálně umístěn nad.

public:
 property int ElementIndex { int get(); };
public int ElementIndex { get; }
member this.ElementIndex : int
Public ReadOnly Property ElementIndex As Integer

Hodnota vlastnosti

Index textového prvku, na který je v současnosti umístěn enumerátor.

Výjimky

Enumerátor je umístěn před prvním textovým prvkem řetězce nebo za posledním textovým prvkem.

Platí pro

Viz také