SynonymInfo Interface 

Represents the information about synonyms, antonyms, related words, or related expressions for the specified range or a given string.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Public Class ynonymInfoImplementation
    Implements SynonymInfo
End Class
Dim ynonymInfoImplementation1 As New ynonymInfoImplementation()

Syntax

Public Interface SynonymInfo
public interface SynonymInfo
public interface class SynonymInfo
public interface SynonymInfo
public interface SynonymInfo

Remarks

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

SynonymInfo Members