TextBox.GetNextSpellingErrorCharacterIndex(Int32, LogicalDirection) Méthode

Définition

Retourne l’index de caractère de début pour l’erreur orthographique suivante dans le contenu de la zone de texte.

public:
 int GetNextSpellingErrorCharacterIndex(int charIndex, System::Windows::Documents::LogicalDirection direction);
public int GetNextSpellingErrorCharacterIndex(int charIndex, System.Windows.Documents.LogicalDirection direction);
member this.GetNextSpellingErrorCharacterIndex : int * System.Windows.Documents.LogicalDirection -> int
Public Function GetNextSpellingErrorCharacterIndex (charIndex As Integer, direction As LogicalDirection) As Integer

Paramètres

charIndex
Int32

Index de caractères de base zéro indiquant une position à partir de laquelle rechercher l’erreur d’orthographe suivante.

direction
LogicalDirection

Une des LogicalDirection valeurs qui spécifie la direction dans laquelle rechercher l’erreur d’orthographe suivante, en commençant à l’argument spécifié charIndex.

Retours

Index de caractères pour le début de l’erreur orthographique suivante dans le contenu de la zone de texte, ou -1 si aucune erreur d’orthographe suivante n’existe.

S’applique à

Voir aussi