RichTextBox.GetSpellingError(TextPointer) 메서드

정의

SpellingError 의 콘텐츠에서 지정된 위치의 맞춤법 오류와 관련된 RichTextBox개체를 반환합니다.

public:
 System::Windows::Controls::SpellingError ^ GetSpellingError(System::Windows::Documents::TextPointer ^ position);
public System.Windows.Controls.SpellingError GetSpellingError (System.Windows.Documents.TextPointer position);
member this.GetSpellingError : System.Windows.Documents.TextPointer -> System.Windows.Controls.SpellingError
Public Function GetSpellingError (position As TextPointer) As SpellingError

매개 변수

position
TextPointer

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

반환

SpellingError

position에 표시된 문자에서 발견된 맞춤법 오류의 세부 정보를 포함하는 SpellingError 개체이거나, 지정된 문자에 맞춤법 오류가 없는 경우 null입니다.

설명

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

적용 대상

추가 정보