Compartilhar via


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
Bb257574.methods(en-us,office.12).gif Add Adds a Field object to the Fields collection. Returns the Field object at the specified range.
Bb257574.methods(en-us,office.12).gif Item Returns an individual Field object in a collection.
Bb257574.methods(en-us,office.12).gif 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.
Bb257574.methods(en-us,office.12).gif Unlink Replaces all the fields in the Fields collection with their most recent results.
Bb257574.methods(en-us,office.12).gif Update Updates the result of the fields object.
Bb257574.methods(en-us,office.12).gif UpdateSource Saves the changes made to the results of an INCLUDETEXT field back to the source document.

Properties

  Name Description
Bb257574.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257574.properties(en-us,office.12).gif Count Returns a Long that represents the number of fields in the collection. Read-only.
Bb257574.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257574.properties(en-us,office.12).gif Locked True if all fields in the Fields collection are locked. Read/write Long.
Bb257574.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Fields object.