PdfDictionary.Enumerator Struct
Enumerates the entries of a PdfDictionary.
public struct Enumerator : IEnumerator<PdfDictionaryEntry>, IEnumerator<KeyValuePair<PdfName, PdfBasicObject>>, IDictionaryEnumerator, IEnumerator<PdfBasicObject>, IDisposable, IEnumerator
Public Structure Enumerator
Implements IEnumerator(Of PdfDictionaryEntry), IEnumerator(Of KeyValuePair(Of PdfName, PdfBasicObject)), IDictionaryEnumerator, IEnumerator(Of PdfBasicObject), IDisposable, IEnumerator
Implements
System.Collections.Generic.IEnumerator<PdfDictionaryEntry>
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<PdfName, PdfBasicObject>>
System.Collections.IDictionaryEnumerator
System.Collections.Generic.IEnumerator<PdfBasicObject>
System.IDisposable
System.Collections.IEnumerator
Properties
Current
Gets the PdfDictionaryEntry at the current position of the enumerator.
public readonly PdfDictionaryEntry Current { get; }
Public ReadOnly Property Current As PdfDictionaryEntry
Property Value
The PdfDictionaryEntry in the PdfDictionary at the current position of the enumerator.
Methods
Dispose()
Releases all resources used by the PdfDictionary.Enumerator.
MoveNext()
Advances the enumerator to the next PdfDictionaryEntry of the PdfDictionary.
Returns
- System.Boolean
true if the enumerator was successfully advanced to the next entry; false if the enumerator has passed the end of the PdfDictionary.
Exceptions
- System.InvalidOperationException
The collection was modified after the enumerator was created.
Implements
System.Collections.Generic.IEnumerator<T>
System.Collections.Generic.IEnumerator<T>
System.Collections.IDictionaryEnumerator
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator