TextBox.GetSpellingErrorLength(Int32) Method
Definition
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 the length of any spelling error that includes the specified character.
public:
int GetSpellingErrorLength(int charIndex);
public int GetSpellingErrorLength (int charIndex);
member this.GetSpellingErrorLength : int -> int
Public Function GetSpellingErrorLength (charIndex As Integer) As Integer
Parameters
- charIndex
- Int32
The zero-based character index of a position in content to examine for a spelling error.
Returns
The length of any spelling error that includes the character specified by charIndex, or 0 if the specified character is not part of a spelling error.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for