Click or drag to resize
ReadOnlyDictionaryTKey, TValueContainsKey Method
确定字典中是否包含指定的键。

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public bool ContainsKey(
	TKey key
)

Parameters

key
Type: TKey
要在字典中定位的键。

Return Value

Type: Boolean
如果字典中包含具有指定键的元素,则为true;否则为false。

Implements

IDictionaryTKey, TValueContainsKey(TKey)
See Also