Share via


_Application.SynonymInfo Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property SynonymInfo ( _
    Word As String, _
    ByRef LanguageID As Object _
) As SynonymInfo
    Get
'Usage
Dim instance As _Application
Dim Word As String
Dim LanguageID As Object
Dim value As SynonymInfo

value = instance.SynonymInfo(Word, LanguageID)
SynonymInfo this[
    string Word,
    ref Object LanguageID
] { get; }

Parameters

  • Word
    Type: System.String
    Required String. The specified word or phrase.
  • LanguageID
    Type: System.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

Type: Microsoft.Office.Interop.Word.SynonymInfo

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace