MetalamaAPI documentationAspect APIMetalama.​Framework.​OptionsIncremental­Keyed­Collection<TKey, TValue>Remove
Open sandboxFocus

IncrementalKeyedCollection<TKey, TValue>.Remove Method

Remove(TKey)

Creates a IncrementalKeyedCollection<TKey, TValue> that contains all operations already contained in the current object, plus the operation of removing an item from the collection.

Declaration
public IncrementalKeyedCollection<TKey, TValue> Remove(TKey key)
Parameters
Type Name Description
TKey key
Returns
Type Description
IncrementalKeyedCollection<TKey, TValue>

Remove(TKey[])

Creates a IncrementalKeyedCollection<TKey, TValue> that contains all operations already contained in the current object, plus the operation of removing items from the collection.

Declaration
public IncrementalKeyedCollection<TKey, TValue> Remove(TKey[] keys)
Parameters
Type Name Description
TKey[] keys
Returns
Type Description
IncrementalKeyedCollection<TKey, TValue>

Remove(IEnumerable<TKey>)

Creates a IncrementalKeyedCollection<TKey, TValue> that contains all operations already contained in the current object, plus the operation of removing items from the collection.

Declaration
public IncrementalKeyedCollection<TKey, TValue> Remove(IEnumerable<TKey> keys)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<TKey> keys
Returns
Type Description
IncrementalKeyedCollection<TKey, TValue>