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

內容中某個位置之以零為起始的字元索引,用以檢查拼字錯誤。

傳回

Int32

包含 charIndex 指定字元之任何拼字錯誤的長度,如果指定的字元不屬於拼字錯誤,則為 0。

適用於