LevelCollection Constructor (Int32) | Apache log4net™ SDK Documentation

Initializes a new instance of the LevelCollection class that has the specified initial capacity.

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

C#
VB
C++
F#
Copy

    public LevelCollection(
    	int capacity
    )

    Public Sub New (
    	capacity As Integer
    )

    public:
    LevelCollection(
    	int capacity
    )

    new :
            capacity : int -> LevelCollection

#### Parameters

capacity
  Type: System
  Int32
  The number of elements that the new LevelCollection is initially capable of storing.

See Also

#### Reference

LevelCollection Class
LevelCollection Overload
log4net.Core Namespace