PluginCollection Add Method | Apache log4net™ SDK Documentation

Adds a IPlugin to the end of the PluginCollection.

Namespace: log4net.Plugin
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public virtual int Add(
    	IPlugin item
    )

    Public Overridable Function Add (
    	item As IPlugin
    ) As Integer

    public:
    virtual int Add(
    	IPlugin^ item
    )

    abstract Add :
            item : IPlugin -> int
    override Add :
            item : IPlugin -> int

#### Parameters

item
  Type: log4net.Plugin
  IPlugin
  The IPlugin to be added to the end of the PluginCollection.

#### Return Value

Type: Int32
The index at which the value has been added.
See Also

#### Reference

PluginCollection Class
log4net.Plugin Namespace