---
title: "MetadataEnumerator Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_MetadataEnumerator.htm
product: "Graphics Mill"
---

# MetadataEnumerator Class
 
Enumerates the elements of this dictionary.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public class MetadataEnumerator : IDictionaryEnumerator
```
 
## Remarks
  
This class implements the IEnumerator interface.
 
Initially, the enumerator is positioned before the first element in the collection. At this position, calling [Current](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_MetadataEnumerator_Current.htm.md) throws an exception. Therefore, you must call [MoveNext()](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_MetadataEnumerator_MoveNext.htm.md) to advance the enumerator to the first element of the collection before reading the value of [Current](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_MetadataEnumerator_Current.htm.md).
 
After the end of the collection is passed, the enumerator is positioned after the last element in the collection, and calling [MoveNext()](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_MetadataEnumerator_MoveNext.htm.md) returns `false`. If the last call to [MoveNext()](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_MetadataEnumerator_MoveNext.htm.md) returned `false`, calling [Current](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_MetadataEnumerator_Current.htm.md) throws an exception.
 
## Inheritance Hierarchy
  
- System.Object
    - Aurigma.GraphicsMill.Codecs.MetadataEnumerator
 
## Thread Safety
 Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [MetadataEnumerator Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Codecs_MetadataEnumerator.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
