LevelCollection AddRange Method ( Level ) | Apache log4net™ SDK Documentation

Adds the elements of a Level array to the current 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 int AddRange(
    	Level[] x
    )

    Public Overridable Function AddRange (
    	x As Level()
    ) As Integer

    public:
    virtual int AddRange(
    	array<Level^>^ x
    )

    abstract AddRange :
            x : Level[] -> int
    override AddRange :
            x : Level[] -> int

#### Parameters

x
  Type:
  log4net.Core
  Level
  The Level array whose elements should be added to the end of the LevelCollection.

#### Return Value

Type: Int32
The new Count of the LevelCollection.
See Also

#### Reference

LevelCollection Class
AddRange Overload
log4net.Core Namespace