AppenderCollection Contains Method | Apache log4net™ SDK Documentation

Determines whether a given IAppender is in the AppenderCollection.

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

C#
VB
C++
F#
Copy

    public virtual bool Contains(
    	IAppender item
    )

    Public Overridable Function Contains (
    	item As IAppender
    ) As Boolean

    public:
    virtual bool Contains(
    	IAppender^ item
    )

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

#### Parameters

item
  Type: log4net.Appender
  IAppender
  The IAppender to check for.

#### Return Value

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

#### Reference

AppenderCollection Class
log4net.Appender Namespace