log4net SDK Reference |

# LevelCollection.GetEnumerator Method

Returns an enumerator that can iterate through the `LevelCollection`.

[Visual Basic]
Overridable Public Function GetEnumerator() As ILevelCollectionEnumerator
[C#]
public virtual ILevelCollectionEnumerator GetEnumerator();

#### Return Value

An Enumerator for the entire `LevelCollection`.

#### Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.GetEnumerator

#### See Also

LevelCollection Class | log4net.Core Namespace