Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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(
���intindex,
���Levelitem
);

Parameters

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

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