TextBox.GetSpellingError(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.