Share via


Document.Words Property

Gets a Words collection that represents all the words in the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

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

Property Value

Type: Words
A Words collection that represents all the words in the document.

Remarks

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

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace