Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AppenderCollection.Insert�Method�

Inserts an element into the AppenderCollection at the specified index.

[Visual�Basic]
Overridable�Public�Sub�Insert( _
���ByVal index�As�Integer,�_
���ByVal item�As�IAppender�_
)
[C#]
public�virtual�void�Insert(
���intindex,
���IAppenderitem
);

Parameters

index
The zero-based index at which item should be inserted.
item
The IAppender to insert.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

AppenderCollection Class | log4net.Appender Namespace