PluginCollection Remove Method | Apache log4net™ SDK Documentation

Removes the first occurrence of a specific IPlugin from 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 void Remove(
    	IPlugin item
    )

    Public Overridable Sub Remove (
    	item As IPlugin
    )

    public:
    virtual void Remove(
    	IPlugin^ item
    )

    abstract Remove :
            item : IPlugin -> unit
    override Remove :
            item : IPlugin -> unit

#### Parameters

item
  Type: log4net.Plugin
  IPlugin
  The IPlugin to remove from the PluginCollection.

Exceptions

Exception | Condition
--- | ---
ArgumentException | The specified IPlugin was not found in the PluginCollection.

See Also

#### Reference

PluginCollection Class
log4net.Plugin Namespace