RichTextBox.GetNextSpellingErrorPosition 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个指向下一 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 不存在下一个拼写错误。