Share via


Document.Words Property

Gets a Microsoft.Office.Interop.Word.Words collection that represents all the words in the document.

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

Syntax

'Declaration
ReadOnly Property Words As Words
Words Words { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Words
A Microsoft.Office.Interop.Word.Words collection that represents all the words in the document.

Remarks

Punctuation and paragraph marks in a document are included in the Microsoft.Office.Interop.Word.Words collection.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace