Inserts an element into the AppenderCollection at the specified index.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- index
- Type: System Int32
The zero-based index at which item should be inserted.
- item
- Type: log4net.Appender IAppender
The IAppender to insert.
Exceptions
Exception | Condition |
---|---|
System ArgumentOutOfRangeException | index is less than zero -or- index is equal to or greater than Count. |
See Also