TextElementEnumerator.MoveNext 메서드
정의
열거자를 문자열의 다음 텍스트 요소로 이동합니다.Advances the enumerator to the next text element of the string.
public:
virtual bool MoveNext();
public bool MoveNext ();
abstract member MoveNext : unit -> bool
override this.MoveNext : unit -> bool
Public Function MoveNext () As Boolean
반환
열거자가 다음 요소로 이동한 경우 true
가 반환되고 문자열의 끝을 지난 경우 false
가 반환됩니다.true
if the enumerator was successfully advanced to the next text element; false
if the enumerator has passed the end of the string.
구현
설명
열거자가 생성 된 후 또는 Reset 가 호출 된 후 열거자는 문자열의 첫 번째 텍스트 요소 앞에 배치 되 고,에 대 한 첫 번째 호출은 MoveNext 열거자를 문자열의 첫 번째 텍스트 요소로 이동 합니다.After an enumerator is created or after a Reset is called, the enumerator is positioned before the first text element of the string, and the first call to MoveNext moves the enumerator over the first text element of the string.
이 열거자를 만든 후에 문자열을 수정 하면에서 MoveNext 예외를 throw 합니다.If the string is modified after this enumerator was created, MoveNext throws an exception.
문자열의 끝이 전달 된 후에를 호출 하면 MoveNext false
가 호출 될 때까지이 반환 됩니다 Reset .After the end of the string is passed, subsequent calls to MoveNext return false
until Reset is called.