语言

RichTextBox.GetNextSpellingErrorPosition 方法

定义

返回一个指向下一 TextPointer 个拼写错误的内容 RichTextBox。

public:
 System::Windows::Documents::TextPointer ^ GetNextSpellingErrorPosition(System::Windows::Documents::TextPointer ^ position, System::Windows::Documents::LogicalDirection direction);
public System.Windows.Documents.TextPointer GetNextSpellingErrorPosition(System.Windows.Documents.TextPointer position, System.Windows.Documents.LogicalDirection direction);
member this.GetNextSpellingErrorPosition : System.Windows.Documents.TextPointer * System.Windows.Documents.LogicalDirection -> System.Windows.Documents.TextPointer
Public Function GetNextSpellingErrorPosition (position As TextPointer, direction As LogicalDirection) As TextPointer

参数

position
TextPointer

一 TextPointer 个指示从中搜索下一个拼写错误的位置。

direction
LogicalDirection

一个 LogicalDirection ,从指定的 position位置开始搜索下一个拼写错误。

返回

指向 TextPointer 内容的下一个拼写错误 RichTextBox,或者 null 不存在下一个拼写错误。

适用于

另请参阅