RichTextBox.GetSpellingErrorRange(TextPointer) 메서드

정의

TextRange 콘텐츠의 지정된 위치에 있는 철자가 잘못된 단어를 다루는 RichTextBox 개체를 반환합니다.

public:
 System::Windows::Documents::TextRange ^ GetSpellingErrorRange(System::Windows::Documents::TextPointer ^ position);
public System.Windows.Documents.TextRange GetSpellingErrorRange (System.Windows.Documents.TextPointer position);
member this.GetSpellingErrorRange : System.Windows.Documents.TextPointer -> System.Windows.Documents.TextRange
Public Function GetSpellingErrorRange (position As TextPointer) As TextRange

매개 변수

position
TextPointer

문자로 확인하여 맞춤법 오류에 대해 검사하는 위치와 논리 방향을 지정하는 TextPointer 입니다. 이 LogicalDirectionTextPointer 속성을 사용하여 검사할 문자의 방향을 지정합니다.

반환

TextRange

position에 지정된 문자를 포함하는 철자가 잘못된 단어를 다루는 TextRange 개체이거나, 지정된 문자에 맞춤법 오류가 없으면 null입니다.

설명

Like TextPointer position 는 일반적으로 두 문자 사이의 위치를 지정합니다. LogicalDirection 검사할 문자를 지정하려면 이 position 속성을 사용합니다.

적용 대상

추가 정보