[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a Microsoft.Office.Interop.Word.Words collection that represents all the words in the document.
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Punctuation and paragraph marks in a document are included in the Microsoft.Office.Interop.Word.Words collection.
The following code example adds a line of text to the document and then uses the property to set the color of the first word in the document to blue. To use this example, run it from the ThisDocument class in a document-level project.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.