Show / Hide Table of Contents

# Class FieldIterator

FieldIterator is an iterator type that can be used to traverse a list form fields in a PDF document. For more information, please PDFDoc.getFieldIterator().

##### Inheritance

object
Iterator<Field>
FieldIterator

##### Implements

IDisposable

##### Inherited Members

Iterator<Field>.Dispose()
Iterator<Field>.Dispose(bool)
Iterator<Field>.Next()
Iterator<Field>.HasNext()
Iterator<Field>.op_Assign(Iterator<Field>)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class FieldIterator : Iterator<Field>, IDisposable

### Methods

#### Current()

get the current FDFFieldIterator

##### Declaration

    public override Field Current()

##### Returns

Type | Description
--- | ---
Field | current `FDFField` object

##### Overrides

Iterator<Field>.Current()

#### Equals(object)

Determines if equals to the given object

##### Declaration

    public bool Equals(object o)

##### Parameters

Type | Name | Description
--- | --- | ---
object | o | given object

##### Returns

Type | Description
--- | ---
bool | true if equals to the given object

### Operators

#### operator ==(FieldIterator, FieldIterator)

Equality operator check whether two FieldIterator objects are the same

##### Declaration

    public static bool operator ==(FieldIterator l, FieldIterator r)

##### Parameters

Type | Name | Description
--- | --- | ---
FieldIterator | l | a `Field` iterator object on the left of the operator
FieldIterator | r | a `Field` iterator object on the right of the operator

##### Returns

Type | Description
--- | ---
bool | true, if both objects are equal

#### operator !=(FieldIterator, FieldIterator)

Inequality operator checks whether two FieldIterator objects are different

##### Declaration

    public static bool operator !=(FieldIterator l, FieldIterator r)

##### Parameters

Type | Name | Description
--- | --- | ---
FieldIterator | l | a `Field` iterator object on the left of the operator
FieldIterator | r | a `Field` iterator object on the right of the operator

##### Returns

Type | Description
--- | ---
bool | true, if both objects are not equal

### Implements

IDisposable