EmptyCollection GetEnumerator Method | Apache log4net™ SDK Documentation

Returns an enumerator that can iterate through a collection.

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

C#
VB
C++
F#
Copy

    public IEnumerator GetEnumerator()

    Public Function GetEnumerator As IEnumerator

    public:
    virtual IEnumerator^ GetEnumerator() sealed

    abstract GetEnumerator : unit -> IEnumerator
    override GetEnumerator : unit -> IEnumerator

#### Return Value

Type: IEnumerator
An IEnumerator that can be used to iterate through the collection.

#### Implements

IEnumerable
GetEnumerator
Remarks

As the collection is empty a NullEnumerator is returned.

See Also

#### Reference

EmptyCollection Class
log4net.Util Namespace