Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

PluginCollection.Insert�Method�

Inserts an element into the PluginCollection at the specified index.

[Visual�Basic]
Overridable�Public�Sub�Insert( _
���ByVal index�As�Integer,�_
���ByVal item�As�IPlugin�_
)
[C#]
public�virtual�void�Insert(
���intindex,
���IPluginitem
);

Parameters

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

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

PluginCollection Class | log4net.Plugin Namespace