Fields Object Members
Word Developer Reference |
A collection of Field objects that represent all the fields in a selection, range, or document.
Methods
Name | Description | |
---|---|---|
Add | Adds a Field object to the Fields collection. Returns the Field object at the specified range. | |
Item | Returns an individual Field object in a collection. | |
ToggleShowCodes | Switches the display of the fields between field codes and field results. Use the ShowCodes property to control the display of an individual field. | |
Unlink | Replaces all the fields in the Fields collection with their most recent results. | |
Update | Updates the result of the fields object. | |
UpdateSource | Saves the changes made to the results of an INCLUDETEXT field back to the source document. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the Microsoft Word application. | |
Count | Returns a Long that represents the number of fields in the collection. Read-only. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. | |
Locked | True if all fields in the Fields collection are locked. Read/write Long. | |
Parent | Returns an Object that represents the parent object of the specified Fields object. |