Inserts an element into the LevelCollection at the specified index.
Namespace: log4net.CoreAssembly: 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.Core Level
The Level to insert.
Exceptions
Exception | Condition |
---|---|
System ArgumentOutOfRangeException | index is less than zero -or- index is equal to or greater than Count. |
See Also