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

지정한 LogicalDirection 오류부터 시작하여 다음 맞춤법 오류를 검색할 방향을 지정하는 값 중 하나입니다 charIndex.

반품

텍스트 상자 내용에서 다음 맞춤법 오류의 시작 부분에 대한 문자 인덱스이거나 다음 맞춤법 오류가 없는 경우 -1.

적용 대상

추가 정보