Skip to content

M_CodeJam_Threading_ConcurrentLazyDictionary_2_ContainsKey

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

ConcurrentLazyDictionary(TKey, TValue).ContainsKey Method

Determines whether the read-only dictionary contains an element that has the specified key.

Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public bool ContainsKey(
	TKey key
)

VB

Public Function ContainsKey ( 
	key As TKey
) As Boolean

F#

abstract ContainsKey : 
        key : 'TKey -> bool 
override ContainsKey : 
        key : 'TKey -> bool 

Parameters

 

key
Type: TKey
The key to locate.

Return Value

Type: Boolean
true if the read-only dictionary contains an element that has the specified key; otherwise, false.

Implements

IReadOnlyDictionary(TKey, TValue).ContainsKey(TKey)

Exceptions

 

Exception Condition
ArgumentNullException key is null.

See Also

Reference

ConcurrentLazyDictionary(TKey, TValue) Class
CodeJam.Threading Namespace

Clone this wiki locally