LevelCollection Clone Method | Apache log4net™ SDK Documentation

Creates a shallow copy of 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 Object Clone()

    Public Overridable Function Clone As Object

    public:
    virtual Object^ Clone()

    abstract Clone : unit -> Object
    override Clone : unit -> Object

#### Return Value

Type: Object
A new LevelCollection with a shallow copy of the collection data.

#### Implements

ICloneable
Clone
See Also

#### Reference

LevelCollection Class
log4net.Core Namespace