Share via


SynonymInfo.PartOfSpeechList Property

Returns a list of the parts of speech corresponding to the meanings found for the word or phrase looked up in the thesaurus. The list is returned as an array of integers.

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

Syntax

'Declaration
ReadOnly Property PartOfSpeechList As Object
    Get
'Usage
Dim instance As SynonymInfo
Dim value As Object

value = instance.PartOfSpeechList
Object PartOfSpeechList { get; }

Property Value

Type: System.Object

Remarks

The list of the parts of speech is returned as an array consisting of the following WdPartOfSpeech constants: wdAdjective, wdAdverb, wdConjunction, wdIdiom, wdInterjection, wdNoun, wdOther, wdPreposition, wdPronoun, and wdVerb. The array elements are ordered to correspond to the elements returned by the MeaningList property.

See Also

Reference

SynonymInfo Interface

SynonymInfo Members

Microsoft.Office.Interop.Word Namespace