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.172 -- Release Build+5cb1550cdf6df80778649a68ce11458d3fff55e0
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