MultiDictionaryBaseTKey, TValueRemoveMany Method (TKey, IEnumerableTValue) |
Removes a collection of values from the values associated with a key. If the
last value is removed from a key, the key is removed also.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual int RemoveMany(
TKey key,
IEnumerable<TValue> values
)
public:
virtual int RemoveMany(
TKey key,
IEnumerable<TValue>^ values
)
Parameters
- key
- Type: TKey
A key to remove values from. - values
- Type: System.Collections.GenericIEnumerableTValue
A collection of values to remove.
Return Value
Type:
Int32The number of values that were present and removed.
See Also