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.162 -- Release Build+612b38c46946e02c7bb632a77f8b03c5cf030041
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