PluginCollection Contains Method | Apache log4net™ SDK Documentation

Determines whether a given IPlugin is in 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 bool Contains(
    	IPlugin item
    )

    Public Overridable Function Contains (
    	item As IPlugin
    ) As Boolean

    public:
    virtual bool Contains(
    	IPlugin^ item
    )

    abstract Contains :
            item : IPlugin -> bool
    override Contains :
            item : IPlugin -> bool

#### Parameters

item
  Type: log4net.Plugin
  IPlugin
  The IPlugin to check for.

#### Return Value

Type: Boolean
true if item is found in the PluginCollection; otherwise, false.
See Also

#### Reference

PluginCollection Class
log4net.Plugin Namespace