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