LevelCollection Constructor (ICollection) | Apache log4net™ SDK Documentation

Initializes a new instance of the LevelCollection class that contains elements copied from the specified Level collection.

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

C#
VB
C++
F#
Copy

    public LevelCollection(
    	ICollection col
    )

    Public Sub New (
    	col As ICollection
    )

    public:
    LevelCollection(
    	ICollection^ col
    )

    new :
            col : ICollection -> LevelCollection

#### Parameters

col
  Type: System.Collections
  ICollection
  The Level collection whose elements are copied to the new list.

See Also

#### Reference

LevelCollection Class
LevelCollection Overload
log4net.Core Namespace