TextBox.GetNextSpellingErrorCharacterIndex(Int32, LogicalDirection) 메서드

정의

텍스트 상자의 내용에서 다음 맞춤법 오류의 시작 문자 인덱스를 반환합니다.

public:
 int GetNextSpellingErrorCharacterIndex(int charIndex, System::Windows::Documents::LogicalDirection direction);
public int GetNextSpellingErrorCharacterIndex (int charIndex, System.Windows.Documents.LogicalDirection direction);
member this.GetNextSpellingErrorCharacterIndex : int * System.Windows.Documents.LogicalDirection -> int
Public Function GetNextSpellingErrorCharacterIndex (charIndex As Integer, direction As LogicalDirection) As Integer

매개 변수

charIndex
Int32

다음 맞춤법 오류를 찾을 위치를 나타내는 문자 인덱스(0부터 시작)입니다.

direction
LogicalDirection

지정된 charIndex에서 시작하여 다음 맞춤법 오류를 찾을 방향을 지정하는 LogicalDirection 값 중 하나입니다.

반환

Int32

텍스트 상자의 내용에서 다음 맞춤법 오류가 시작하는 문자 인덱스이거나, 다음 맞춤법 오류가 없으면 -1입니다.

적용 대상

추가 정보