TextBox.GetNextSpellingErrorCharacterIndex(Int32, LogicalDirection) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne l'index de caractère de début pour la faute d'orthographe 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ère de base zéro qui indique une position à partir de laquelle rechercher la faute d'orthographe suivante.
- direction
- LogicalDirection
L'une des valeurs LogicalDirection qui spécifie la direction dans laquelle rechercher la faute d'orthographe suivante, en démarrant au charIndex
spécifié.
Retours
Index de caractère pour le début de la faute d’orthographe suivante dans le contenu de la zone de texte, ou -1 si aucune faute d’orthographe suivante n’existe.
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour