Represents the information about synonyms, antonyms, related words, or related expressions for the specified range or a given string.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Use the SynonymInfo property of a Range or Application object to return a SynonymInfo object. The SynonymInfo object can be returned either from a range or from Microsoft Word. If it's returned from Word, you specify the lookup word or phrase and a proofing language ID. If it's returned from a range, Word uses the specified range as the lookup word.
Many of the properties of the SynonymInfo object return an Object that contains an array of strings. When working with these properties, you can assign the returned array to a variable and then index the variable to see the elements in the array.
You can check the value of the MeaningCount property to prevent potential errors in your code.