FormFieldCollection

FormFieldCollection

Overview

FormFieldCollection is a class in Aspose.Words FOSS for .NET. Inherits from: IEnumerable<FormField>.

A collection of FormField objects that represent all the form fields in a range.

This class provides 4 methods for working with FormFieldCollection objects in .NET programs. Available methods include: Clear, GetEnumerator, Remove, RemoveAt. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Count.

Properties

NameTypeAccessDescription
CountintReadReturns the number of form fields in the collection.

Methods

SignatureDescription
Remove(formField: string)Removes a form field with the specified name.
RemoveAt(index: int)Removes a form field at the specified index.
Clear()Removes all form fields from this collection and from the document.
GetEnumerator()Returns an enumerator object.

See Also