Partager via


Field Members

Include Protected Members
Include Inherited Members

Represents a field. The Field object is a member of the Fields collection. The Fields collection represents the fields in a selection, range, or document.

The Field type exposes the following members.

Methods

  Name Description
Public method Copy Copies the specified object to the Clipboard.
Public method Cut Removes the specified object from the document and places it on the Clipboard.
Public method Delete Deletes the specified object.
Public method DoClick Clicks the specified field.
Public method Select Selects the specified object.
Public method Unlink Replaces the specified field with its most recent result.
Public method Update Updates the result of the field object.
Public method UpdateSource Saves the changes made to the results of an INCLUDETEXT field back to the source document.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property Code Returns a Range object that represents a field's code.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Data Returns or sets data in an ADDIN field.
Public property Index Returns an Integer that represents the position of an item in a collection.
Public property InlineShape Returns a InlineShape object that represents the picture, OLE object, or ActiveX control that is the result of an INCLUDEPICTURE or EMBED field.
Public property Kind Returns the type of link for a Field object.
Public property LinkFormat Returns a LinkFormat object that represents the link options of the specified field, inline shape, or shape that's linked to a file.
Public property Locked Determines if the specified field is locked.
Public property Next Returns the next object in the collection.
Public property OLEFormat Returns a OLEFormat object that represents the OLE characteristics (other than linking) for the specified field.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property Previous Returns the previous object in the collection.
Public property Result Returns a Range object that represents a field's result.
Public property ShowCodes Determines if field codes are displayed for the specified field instead of field results.
Public property Type Returns the field type.

Top

See Also

Reference

Field Interface

Microsoft.Office.Interop.Word Namespace