SyncDictionaryTKey, TValueRemove Method |
从字典中移除所指定的键的值。
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic bool Remove(
TKey key
)
public:
virtual bool Remove(
TKey key
) sealed
Parameters
- key
- Type: TKey
要移除的元素的键。
Return Value
Type:
Boolean如果成功找到并移除该元素,则为 true;否则为 false。如果在字典中没有找到 key,此方法则返回 false。
Implements
IDictionaryTKey, TValueRemove(TKey)
See Also