TextElementEnumerator.ElementIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.