Breyta

Deila með


TextBox.GetSpellingErrorLength(Int32) Method

Definition

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