Επεξεργασία

Κοινή χρήση μέσω


TextElementEnumerator.ElementIndex Property

Definition

Gets the index of the text element that the enumerator is currently positioned over.

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

Property Value

The index of the text element that the enumerator is currently positioned over.

Exceptions

The enumerator is positioned before the first text element of the string or after the last text element.

Applies to

See also