_Global.GetSpellingSuggestions(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Méthode

Définition

Renvoie une SpellingSuggestions collection qui représente les mots suggérés en remplacement d’un mot donné.

public Microsoft.Office.Interop.Word.SpellingSuggestions GetSpellingSuggestions (string Word, ref object CustomDictionary, ref object IgnoreUppercase, ref object MainDictionary, ref object SuggestionMode, ref object CustomDictionary2, ref object CustomDictionary3, ref object CustomDictionary4, ref object CustomDictionary5, ref object CustomDictionary6, ref object CustomDictionary7, ref object CustomDictionary8, ref object CustomDictionary9, ref object CustomDictionary10);
abstract member GetSpellingSuggestions : string * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj -> Microsoft.Office.Interop.Word.SpellingSuggestions
Public Function GetSpellingSuggestions (Word As String, Optional ByRef CustomDictionary As Object, Optional ByRef IgnoreUppercase As Object, Optional ByRef MainDictionary As Object, Optional ByRef SuggestionMode As Object, Optional ByRef CustomDictionary2 As Object, Optional ByRef CustomDictionary3 As Object, Optional ByRef CustomDictionary4 As Object, Optional ByRef CustomDictionary5 As Object, Optional ByRef CustomDictionary6 As Object, Optional ByRef CustomDictionary7 As Object, Optional ByRef CustomDictionary8 As Object, Optional ByRef CustomDictionary9 As Object, Optional ByRef CustomDictionary10 As Object) As SpellingSuggestions

Paramètres

Word
String

Argument de type String obligatoire. Mot dont l'orthographe doit être vérifiée.

CustomDictionary
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier du dictionnaire personnalisé.

IgnoreUppercase
Object

Objetfacultatif. True pour ignorer les mots en majuscules. Si vous ne spécifiez pas cet argument, la valeur actuelle de la IgnoreUppercase propriété est utilisée.

MainDictionary
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier du dictionnaire principal. Si vous ne spécifiez pas de dictionnaire principal, Microsoft Word utilise le dictionnaire principal qui correspond à la langue mise en forme du Word premier mot de la plage.

SuggestionMode
Object

Objetfacultatif. Spécifie la façon dont Word suggère les corrections. Il peut s’agir de l’une des WdSpellingWordType constantes suivantes. La valeur par défaut est WdSpellword.

CustomDictionary2
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier d'un dictionnaire personnel supplémentaire. Vous pouvez spécifier jusqu'à neuf dictionnaires supplémentaires.

CustomDictionary3
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier d'un dictionnaire personnel supplémentaire.

CustomDictionary4
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier d'un dictionnaire personnel supplémentaire.

CustomDictionary5
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier d'un dictionnaire personnel supplémentaire.

CustomDictionary6
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier d'un dictionnaire personnel supplémentaire.

CustomDictionary7
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier d'un dictionnaire personnel supplémentaire.

CustomDictionary8
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier d'un dictionnaire personnel supplémentaire.

CustomDictionary9
Object

Objetfacultatif. Expression qui renvoie un objet Dictionary ou le nom de fichier d'un dictionnaire personnel supplémentaire.

CustomDictionary10
Object

Objetfacultatif. Expression qui renvoie un Dictionary objet ou le nom de fichier d’un dictionnaire personnel supplémentaire. Vous pouvez spécifier jusqu'à neuf dictionnaires supplémentaires.

Retours

SpellingSuggestions

Remarques

Si le mot est correctement orthographié, la Count propriété de l’objet SpellingSuggestions renvoie la valeur 0 (zéro).

S’applique à