LevelCollection GetEnumerator Method | Apache log4net™ SDK Documentation

Returns an enumerator that can iterate through the LevelCollection.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public virtual LevelCollectionILevelCollectionEnumerator GetEnumerator()

    Public Overridable Function GetEnumerator As LevelCollectionILevelCollectionEnumerator

    public:
    virtual LevelCollectionILevelCollectionEnumerator^ GetEnumerator()

    abstract GetEnumerator : unit -> LevelCollectionILevelCollectionEnumerator
    override GetEnumerator : unit -> LevelCollectionILevelCollectionEnumerator

#### Return Value

Type: LevelCollection
ILevelCollectionEnumerator
An Enumerator for the entire LevelCollection.
See Also

#### Reference

LevelCollection Class
log4net.Core Namespace