AppenderCollection.Insert Method
AppenderCollectionInsert Method Apache log4net™ SDK Documentation
Inserts an element into the AppenderCollection at the specified index.

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

public virtual void Insert(
	int index,
	IAppender item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: log4net.AppenderIAppender
The IAppender to insert.
Exceptions

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

Reference