An instance of the PageNumberFieldCollection class contains the page number fields in a header or footer of a Text Control document. Page number fields are represented through objects of the type PageNumberField. An instance of this class can be obtained with the HeaderFooter.PageNumberFields property. The PageNumberFieldCollection class implements the IEnumerable and the ICollection interfaces. For more information see the technical article Text Fields and Hypertext Links.
[C#]
public sealed class PageNumberFieldCollection: ICollection, IEnumerable
[Visual Basic]
Public NotInheritable Class PageNumberFieldCollection
Implements ICollection
Implements IEnumerable