RichTextBox.GetNextSpellingErrorPosition Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
.
A TextPointer that points to the next spelling error in the contents of the RichTextBox, or null
if no next spelling error exists.
Produk | Versi |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET maklum balas
.NET ialah projek sumber terbuka. Pilih pautan untuk memberikan maklum balas: