KGy SOFT

CircularSortedListTKey, TValueContainsKey Method

KGy SOFT Core Libraries Help

Namespace:  KGySoft.Collections
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0
Syntax

public bool ContainsKey(
	TKey key
)

Parameters

key
Type: TKey
The key to locate in the CircularSortedListTKey, TValue.

Return Value

Type: Boolean
, if the CircularSortedListTKey, TValue contains an element with the key; otherwise, .

Implements

IDictionaryTKey, TValueContainsKey(TKey)
IReadOnlyDictionaryTKey, TValueContainsKey(TKey)
Exceptions

ExceptionCondition
ArgumentNullExceptionkey is .
Remarks

This method is an O(log n) operation, where n is Count.
See Also

Reference