Gemstone IO Library
Show/Hide TOC

# FileBackedDictionaryTKey, TValue, TKeyElem, TValueElemContainsKey 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.155 -- Release Build+ab39a59f14bca7cb8b2a97a73d65e4a810348977
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, TValueContainsKey(TKey)

## Exceptions

ArgumentNullException | key is null.

## See Also

#### Reference

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