TextBox.GetSpellingError(Int32) TextBox.GetSpellingError(Int32) TextBox.GetSpellingError(Int32) TextBox.GetSpellingError(Int32) Method

Definition

Returns a SpellingError object associated with any spelling error at the specified character index.

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

Parameters

charIndex
Int32 Int32 Int32 Int32

The zero-based character index of a position in content to examine for a spelling error.

Returns

A SpellingError object containing the details of the spelling error found at the character indicated by charIndex, or null if no spelling error exists at the specified character.

Applies to

See also