PdfOutlineCollection.Enumerator Struct
Enumerates the elements of a PdfOutlineCollection.
public struct Enumerator : IEnumerator<PdfOutline>, IDisposable, IEnumerator
Public Structure Enumerator
Implements IEnumerator(Of PdfOutline), IDisposable, IEnumerator
Implements
System.Collections.Generic.IEnumerator<PdfOutline>
System.IDisposable
System.Collections.IEnumerator
Properties
Current
Gets the element at the current position of the enumerator.
Property Value
The element in the PdfOutlineCollection at the current position of the enumerator.
Methods
Dispose()
Releases all resources used by the PdfOutlineCollection.Enumerator.
MoveNext()
Advances the enumerator to the next element of the PdfOutlineCollection.
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