_Application.GetSpellingSuggestions メソッド

定義

指定した単語の SpellingSuggestions スペルの置換として提案された単語を表すコレクションを返します。

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

パラメーター

Word
String

文字列 が必要です。 スペル チェックする単語を指定します。

CustomDictionary
Object

省略可能 なオブジェクト。 オブジェクトまたはユーザー辞書の Dictionary ファイル名を返す式。

IgnoreUppercase
Object

省略可能 なオブジェクトTrue をすべて大文字の単語を無視します。 この引数を省略すると、 プロパティの現在の IgnoreUppercase 値が使用されます。

MainDictionary
Object

省略可能 なオブジェクト。 オブジェクトまたはメインディクショナリのファイル名を返すDictionary式。 メイン辞書を指定しない場合、Microsoft Wordは、範囲内の最初の単語のまたは の言語書式設定Wordに対応するメイン辞書を使用します。

SuggestionMode
Object

省略可能 なオブジェクト。 スペルの修正候補を表示する方法を指定します。 次 WdSpellingWordType のいずれかの定数を指定できます。 既定値は、 WdSpellword です。

CustomDictionary2
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

CustomDictionary3
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

CustomDictionary4
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

CustomDictionary5
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

CustomDictionary6
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

CustomDictionary7
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

CustomDictionary8
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

CustomDictionary9
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

CustomDictionary10
Object

省略可能 なオブジェクト。 オブジェクトまたは追加の Dictionary ユーザー辞書のファイル名を返す式。 追加の辞書は 9 個まで指定できます。

戻り値

注釈

単語のスペルが正しい場合、 Count オブジェクトの SpellingSuggestions プロパティは 0 (ゼロ) を返します。

適用対象