FieldCollection class
FieldCollection class
A collection of Field objects that represents the fields in the specified range. To learn more, visit the Working with Fields documentation article.
Remarks
An instance of this collection iterates fields which start fall within the specified range.
The FieldCollection collection does not own the fields it contains, rather, is just a selection of fields.
The FieldCollection collection is “live”, i.e. changes to the children of the node object that it was created from are immediately reflected in the fields returned by the FieldCollection properties and methods.
Properties
Name | Description |
---|---|
count | Returns the number of the fields in the collection. |
this[] |
Methods
Name | Description |
---|---|
clear() | Removes all fields of this collection from the document and from this collection itself. |
remove(field) | Removes the specified field from this collection and from the document. |
removeAt(index) | Removes a field at the specified index from this collection and from the document. |
See Also
- module Aspose.Words.Fields