EmptyDictionary Contains Method | Apache log4net™ SDK Documentation

Determines whether the EmptyDictionary contains an element with the specified key.

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

C#
VB
C++
F#
Copy

    public bool Contains(
    	Object key
    )

    Public Function Contains (
    	key As Object
    ) As Boolean

    public:
    virtual bool Contains(
    	Object^ key
    ) sealed

    abstract Contains :
            key : Object -> bool
    override Contains :
            key : Object -> bool

#### Parameters

key
  Type: System
  Object
  The key to locate in the EmptyDictionary.

#### Return Value

Type: Boolean
false

#### Implements

IDictionary
Contains(Object)
Remarks

As the collection is empty the Contains(Object) method always returns false.

See Also

#### Reference

EmptyDictionary Class
log4net.Util Namespace