Selection.Words Property

Returns a Words collection that represents all the words in a selection.

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

Syntax

'Declaration
ReadOnly Property Words As Words
    Get
'Usage
Dim instance As Selection
Dim value As Words

value = instance.Words
Words Words { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Words

Remarks

Punctuation and paragraph marks in a document are included in the Words collection.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace