DataCollection<TKey,TValue>.ContainsKey(TKey) DataCollection<TKey,TValue>.ContainsKey(TKey) DataCollection<TKey,TValue>.ContainsKey(TKey) DataCollection<TKey,TValue>.ContainsKey(TKey) Method

Definition

Determines whether the DataCollection<TKey,TValue> contains a specific key value.

public:
 bool ContainsKey(TKey key);
public bool ContainsKey (TKey key);
member this.ContainsKey : 'Key -> bool
Public Function ContainsKey (key As TKey) As Boolean

Parameters

key
TKey TKey TKey TKey

Type: TKey. The key to locate in the collection.

Returns

Type: Booleantrue if item is found in the DataCollection<TKey,TValue>; otherwise, false.

Applies to