An instance of the FieldAdapterCollection class contains adapters for all application fields of the page it belongs to. An instance of this class can be obtained via the DocumentController.Page.FieldAdapters property. The FieldAdapterCollection that can be accessed via the DocumentController.FieldAdapters property contains adapters for all the application fields in the currently loaded document, of course. The FieldAdapterCollection class implements the IEnumerable and the ICollection interfaces and is part of the TXTextControl.DocumentServer.DocumentController namespace.

Syntax

public sealed class FieldAdapterCollection: ICollection, IEnumerable
Public NotInheritable Class PageCollection
  Implements ICollection
  Implements IEnumerable

Introduced: 15.0.

Methods

Method Description
CopyTo Copies the elements of the collection to an array, starting at the specified index.
GetEnumerator Returns an enumerator that can be used to iterate over the collection's items.
IndexOf Gets the index of the specified field adapter in the collection.

Properties

Property Description
Count Gets the number of elements contained in the collection.
Item Gets the DocumentServer.Fields.FieldAdapter instance at the specified index from the collection.