Table of Contents

IDictionary.ContainsKey Method

Determines whether the dictionary contains the specified key.

Syntax

Unit: Bcl.Collections

function IDictionary.ContainsKey(const Key: TValue): Boolean; virtual; abstract;

Parameters

<-> Parameter Type Description
const Key TValue The key to locate.

Returns

True if the dictionary contains the key; otherwise, False.

See also