/// <include file='doc\TextElementEnumerator.uex' path='docs/doc[@for="TextElementEnumerator.MoveNext"]/*' /> public bool MoveNext() { if (index > endIndex) { return(false); } nextTextElementLen = StringInfo.GetNextTextElementLen(str, index, endIndex); index += nextTextElementLen; return(true); }