AppenderCollection AddRange Method ( IAppender ) | Apache log4net™ SDK Documentation

Adds the elements of a IAppender array to the current AppenderCollection.

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

C#
VB
C++
F#
Copy

    public virtual int AddRange(
    	IAppender[] x
    )

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

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

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

#### Parameters

x
  Type:
  log4net.Appender
  IAppender
  The IAppender array whose elements should be added to the end of the AppenderCollection.

#### Return Value

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

#### Reference

AppenderCollection Class
AddRange Overload
log4net.Appender Namespace