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
Parameters
- index
 - Type: SystemInt32
The zero-based index at which item should be inserted. - item
 - Type: log4net.AppenderIAppender
The IAppender to insert. 
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentOutOfRangeException | index is less than zero -or- index is equal to or greater than Count.  | 
See Also