TextBox.GetSpellingErrorStart(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回包含指定字符的任何拼写错误的起始字符索引。
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。