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。