AppenderCollection RemoveAt Method | Apache log4net™ SDK Documentation

Removes the element at the specified index of the 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 void RemoveAt(
    	int index
    )

    Public Overridable Sub RemoveAt (
    	index As Integer
    )

    public:
    virtual void RemoveAt(
    	int index
    )

    abstract RemoveAt :
            index : int -> unit
    override RemoveAt :
            index : int -> unit

#### Parameters

index
  Type: System
  Int32
  The zero-based index of the element to remove.

Exceptions

Exception | Condition
--- | ---
ArgumentOutOfRangeException | index is less than zero -or- index is equal to or greater than Count.

See Also

#### Reference

AppenderCollection Class
log4net.Appender Namespace