Show / Hide Table of Contents

# Class Iterator<T>

##### Inheritance

object
Iterator<T>
FDFFieldIterator
ContentNodeIterator
CharIterator
DigitalSignatureFieldIterator
FieldIterator
FontCharCodeIterator
GSChangesIterator
PageIterator

##### Implements

IDisposable

##### Inherited Members

object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

###### Namespace: pdftron.Common

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public abstract class Iterator<T> : IDisposable

##### Type Parameters

Name | Description
--- | ---
T |

### Methods

#### Current()

##### Declaration

    public abstract T Current()

##### Returns

Type | Description
--- | ---
T |

#### Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

##### Declaration

    public void Dispose()

#### Dispose(bool)

##### Declaration

    protected virtual void Dispose(bool disposing)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | disposing |

#### ~Iterator()

##### Declaration

    protected ~Iterator()

#### HasNext()

Determine if true if the iteration has more elements.

##### Declaration

    public bool HasNext()

##### Returns

Type | Description
--- | ---
bool | true if the iteration has more elements.

#### Next()

iterates to next `T` object

##### Declaration

    public void Next()

#### op_Assign(Iterator<T>)

##### Declaration

    public Iterator<T> op_Assign(Iterator<T> other)

##### Parameters

Type | Name | Description
--- | --- | ---
Iterator<T> | other |

##### Returns

Type | Description
--- | ---
Iterator<T> |

### Implements

IDisposable