Field Field Field Interface

Definition

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.

public interface class Field
[System.Runtime.InteropServices.Guid("0002092F-0000-0000-C000-000000000046")]
public interface Field
Public Interface Field
Attributes

Remarks

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 Add(Range, Object, Object, Object) method to add a field to the Fields collection.

Properties

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Code Code Code

Returns a Range object that represents a field's code.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Data Data Data

Returns or sets data in an ADDIN field.

Index Index Index

Returns an Integer that represents the position of an item in a collection.

InlineShape InlineShape 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 Kind Kind

Returns the type of link for a Field object.

LinkFormat LinkFormat 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 Locked Locked

Determines if the specified field is locked.

Next Next Next

Returns the next object in the collection.

OLEFormat OLEFormat OLEFormat

Returns a OLEFormat object that represents the OLE characteristics (other than linking) for the specified field.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

Previous Previous Previous

Returns the previous object in the collection.

Result Result Result

Returns a Range object that represents a field's result.

ShowCodes ShowCodes ShowCodes

Determines if field codes are displayed for the specified field instead of field results.

Type Type Type

Returns the field type.

Methods

Copy() Copy() Copy()

Copies the specified object to the Clipboard.

Cut() Cut() Cut()

Removes the specified object from the document and places it on the Clipboard.

Delete() Delete() Delete()

Deletes the specified object.

DoClick() DoClick() DoClick()

Clicks the specified field.

Select() Select() Select()

Selects the specified object.

Unlink() Unlink() Unlink()

Replaces the specified field with its most recent result.

Update() Update() Update()

Updates the result of the field object.

UpdateSource() UpdateSource() UpdateSource()

Saves the changes made to the results of an INCLUDETEXT field back to the source document.

Applies to