PdfArray.Enumerator Struct
Enumerates the PdfBasicObjects of a PdfArray.
public struct Enumerator : IEnumerator<PdfBasicObject>, IDisposable, IEnumerator
Public Structure Enumerator
Implements IEnumerator(Of PdfBasicObject), IDisposable, IEnumerator
Implements
System.Collections.Generic.IEnumerator<PdfBasicObject>
System.IDisposable
System.Collections.IEnumerator
Properties
Current
Gets the PdfBasicObject at the current position of the enumerator.
public readonly PdfBasicObject Current { get; }
Public ReadOnly Property Current As PdfBasicObject
Property Value
The PdfBasicObject in the PdfArray at the current position of the enumerator.
Methods
Dispose()
Releases all resources used by the PdfArray.Enumerator.
MoveNext()
Advances the enumerator to the next PdfBasicObject of the PdfArray.
Returns
- System.Boolean
true if the enumerator was successfully advanced to the next PdfBasicObject; 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