TextBox.GetSpellingError(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与 SpellingError 指定字符索引处的任何拼写错误关联的对象。
public:
System::Windows::Controls::SpellingError ^ GetSpellingError(int charIndex);
public System.Windows.Controls.SpellingError GetSpellingError(int charIndex);
member this.GetSpellingError : int -> System.Windows.Controls.SpellingError
Public Function GetSpellingError (charIndex As Integer) As SpellingError
参数
- charIndex
- Int32
要检查拼写错误的内容的某个位置的从零开始的字符索引。
返回
一个 SpellingError 对象,其中包含在指定 charIndex字符处找到的拼写错误的详细信息,或者 null 指定字符中不存在拼写错误。