OrderedDictionaryTKey, TValueRemove Method (TKey) |
Removes the key (and associated value) from the collection that is equal to the passed in key. If
no key in the dictionary is equal to the passed key, false is returned and the
dictionary is unchanged.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic override sealed bool Remove(
TKey key
)
public:
virtual bool Remove(
TKey key
) override sealed
Parameters
- key
- Type: TKey
The key to remove.
Return Value
Type:
BooleanTrue if the key was found and removed. False if the key was not found.
Implements
IDictionaryTKey, TValueRemove(TKey)
RemarksEquality between keys is determined by the comparison instance or delegate used
to create the dictionary.
See Also