X3Platform 帮助文档
X3Platform 帮助文档
X3Platform
X3Platform.Collections
SyncDictionary(TKey, TValue) Class
SyncDictionary(TKey, TValue) Methods
Add Method
Clear Method
ContainsKey Method
CopyTo Method
GetEnumerator Method
Remove Method
TryGetValue Method
SyncDictionary
TKey
,
TValue
ContainsKey Method
确定字典中是否包含指定的键。
Namespace:
X3Platform.Collections
Assembly:
X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
C#
C++
Copy
public
bool
ContainsKey
( TKey
key
)
public
:
virtual
bool
ContainsKey
( TKey
key
)
sealed
Parameters
key
Type:
TKey
要在字典中定位的键。
Return Value
Type:
Boolean
如果字典中包含具有指定键的元素,则为true;否则为false。
Implements
IDictionary
TKey, TValue
ContainsKey(TKey)
See Also
Reference
SyncDictionary
TKey, TValue
Class
X3Platform.Collections Namespace