Edytuj

Udostępnij za pośrednictwem


FormFields Interface

Definition

A collection of FormField objects that represent all the form fields in a selection, range, or document.

public interface class FormFields : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020929-0000-0000-C000-000000000046")]
public interface FormFields : System.Collections.IEnumerable
type FormFields = interface
    interface IEnumerable
Public Interface FormFields
Implements IEnumerable
Attributes
Implements

Remarks

Use the FormFields property to return the FormFields collection.

Use the Add(Range, WdFieldType) method with the FormFields object to add a form field.

Use FormFields(index), where index is a bookmark name or index number, to return a single FormField object.

The index number represents the position of the form field in the selection, range, or document.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Count

Returns the number of items in the specified collection.

Creator

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

Item[Object]

Returns an individual object in a collection.

Parent

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

Shaded

Determines if shading is applied to form fields.

Methods

Add(Range, WdFieldType)

Returns a FormField object that represents a new form field added at a range.

GetEnumerator()

Applies to