Gemstone IO Library
Show/Hide TOC

# FileBackedDictionary TKey, TValue, TKeyElem, TValueElem ContainsKey Method

Determines whether the FileBackedDictionaryTKey, TValue contains an element with the specified key.

## Definition

Namespace: Gemstone.IO.Collections
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.158 -- Release Build+f7106cda20384a326bb8a47ce83b28923b71589b
C#
View Source Request Example

    public bool ContainsKey(
    	TKey key
    )

VB
View Source Request Example

    Public Function ContainsKey (
    	key As TKey
    ) As Boolean

C++
View Source Request Example

    public:
    virtual bool ContainsKey(
    	TKey key
    ) sealed

JavaScript
View Source Request Example

    function ContainsKey(key);

#### Parameters

key TKey
  The key to locate in the FileBackedDictionaryTKey, TValue.

#### Return Value

Boolean
true if the FileBackedDictionaryTKey, TValue contains an element with the key; otherwise, false.

#### Implements

IDictionaryTKey, TValue ContainsKey(TKey)

## Exceptions

ArgumentNullException | key is null.

## See Also

#### Reference

FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem Class
Gemstone.IO.Collections Namespace