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
- 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.