AvaloniaDictionaryTKey, TValueContainsKey Method

Determines whether the IDictionaryTKey, TValue contains an element with the specified key.

Definition

Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool ContainsKey(
	TKey key
)

Parameters

key  TKey
The key to locate in the IDictionaryTKey, TValue.

Return Value

Boolean
if the IDictionaryTKey, TValue contains an element with the key; otherwise, .

Implements

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

Exceptions

See Also