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

Adds the elements of a Level collection 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(
    	ICollection col
    )

    Public Overridable Function AddRange (
    	col As ICollection
    ) As Integer

    public:
    virtual int AddRange(
    	ICollection^ col
    )

    abstract AddRange :
            col : ICollection -> int
    override AddRange :
            col : ICollection -> int

#### Parameters

col
  Type: System.Collections
  ICollection
  The Level collection 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