PdfCollection<T>.Enumerator Struct
Enumerates the elements of a PdfCollection<T>.
public struct Enumerator : IEnumerator<T>, IDisposable, IEnumerator
Public Structure Enumerator
Implements IEnumerator(Of T), IDisposable, IEnumerator
Implements
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator
Properties
Current
Gets the element at the current position of the enumerator.
Property Value
- T
The element in the PdfCollection<T> at the current position of the enumerator.
Methods
Dispose()
Releases all resources used by the PdfCollection<T>.Enumerator.
MoveNext()
Advances the enumerator to the next element of the PdfCollection<T>.
Returns
- System.Boolean
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Exceptions
- System.InvalidOperationException
The collection was modified after the enumerator was created.
Implements
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator