TextBox.GetSpellingErrorStart(Int32) 方法

定义

返回包含指定字符的任何拼写错误的起始字符索引。

public:
 int GetSpellingErrorStart(int charIndex);
public int GetSpellingErrorStart(int charIndex);
member this.GetSpellingErrorStart : int -> int
Public Function GetSpellingErrorStart (charIndex As Integer) As Integer

参数

charIndex
Int32

要检查拼写错误的内容的某个位置的从零开始的字符索引。

返回

包含指定 charIndex字符的任何拼写错误的起始字符索引;如果指定的字符不是拼写错误的一部分,则为 -1。

适用于