Bewerken

Delen via


TextBox.GetSpellingErrorStart(Int32) Method

Definition

Returns the beginning character index for any spelling error that includes the specified character.

public:
 int GetSpellingErrorStart(int charIndex);
public int GetSpellingErrorStart (int charIndex);
member this.GetSpellingErrorStart : int -> int
Public Function GetSpellingErrorStart (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 beginning character index for any spelling error that includes the character specified by charIndex, or -1 if the specified character is not part of a spelling error.

Applies to