Editar

Compartilhar via


RichTextBox.GetNextSpellingErrorPosition Method

Definition

Returns a TextPointer that points to the next spelling error in the contents of the 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

Parameters

position
TextPointer

A TextPointer indicating a position from which to search for the next spelling error.

direction
LogicalDirection

A LogicalDirection in which to search for the next spelling error, starting at the specified position.

Returns

A TextPointer that points to the next spelling error in the contents of the RichTextBox, or null if no next spelling error exists.

Applies to

See also