Fields interface
Office 2013 and later
A collection of Field objects that represent all the fields in a selection, range, or document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Use the Fields property to return the Fields collection.
Use the Add method to add a field to the Fields collection.
Use Fields(index), where index is the index number, to return a single Field object. The index number represents the position of the field in the selection, range, or document.
Use the Fields property with a MailMerge object to return the MailMergeFields collection.
The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range object.
Show: