編輯

共用方式為


_Application.SynonymInfo[String, Object] Property

Definition

Returns a SynonymInfo object that contains information from the thesaurus on synonyms, antonyms, or related words and expressions for the specified word or phrase.

public:
 property Microsoft::Office::Interop::Word::SynonymInfo ^ SynonymInfo[System::String ^, System::Object ^ %] { Microsoft::Office::Interop::Word::SynonymInfo ^ get(System::String ^ Word, System::Object ^ % LanguageID); };
public Microsoft.Office.Interop.Word.SynonymInfo SynonymInfo[string Word, ref object LanguageID] { get; }
member this.SynonymInfo(string * obj) : Microsoft.Office.Interop.Word.SynonymInfo
Public ReadOnly Property SynonymInfo(Word As String, Optional ByRef LanguageID As Object) As SynonymInfo

Parameters

Word
String

Required String. The specified word or phrase.

LanguageID
Object

Optional Object. The language used for the thesaurus. Can be one of the WdLanguageID constants (although some of the constants listed may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed).

Property Value

Applies to