log4net SDK Reference |

# EmptyDictionary.Contains Method

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

[Visual Basic]
NotOverridable Public Function Contains( _
ByVal key As Object _
) As Boolean _
Implements IDictionary.Contains
[C#]
public bool Contains(
object key
);

#### Parameters

key
  The key to locate in the EmptyDictionary.

#### Return Value

`false`

#### Implements

IDictionary.Contains

#### Remarks

As the collection is empty the Contains method always returns `false`.

#### See Also

EmptyDictionary Class | log4net.Util Namespace