Field 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 following tables list the members exposed by the Field type.

Public Properties

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

Top

Public Methods

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

Top

See Also

Reference

Field Interface
Microsoft.Office.Interop.Word Namespace