log4net SDK Reference |

# LevelCollection.Insert Method

Inserts an element into the `LevelCollection` at the specified index.

[Visual Basic]
Overridable Public Sub Insert( _
ByVal index As Integer, _
ByVal item As Level _
)
[C#]
public virtual void Insert(
int index,
Level item
);

#### Parameters

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

#### Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.Insert(System.Int32,log4net.Core.Level)

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentOutOfRangeException | index is less than zero -or- index is equal to or greater than Count.

#### See Also

LevelCollection Class | log4net.Core Namespace