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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.