log4net SDK Reference |

# 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(
int index,
IPlugin item
);

#### Parameters

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

#### Remarks

Missing <remarks> documentation for M:log4net.Plugin.PluginCollection.Insert(System.Int32,log4net.Plugin.IPlugin)

#### 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