.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

FieldCollection Members

Represents a collection of fields in the document.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
Create(DocumentPosition, String) Adds a field specified by its code to the field collection.
Create(DocumentRange) Creates a field from the specified range and adds it to the field collection.
Get(DocumentRange) Gets all fields located in the specified document range. Inherited from ReadOnlyFieldCollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Update() Updates all fields in the collection.
See Also