TextBox.GetSpellingErrorLength(Int32) 方法

定义

返回包含指定字符的任何拼写错误的长度。

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

参数

charIndex
Int32

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

返回

包含 charIndex 指定的字符的任何拼写错误的长度;如果指定的字符不是拼写错误的一部分,则为 0。

适用于