Open sandboxFocus

Method Remove

Remove<TKey, TValue>(TValue)

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the option of removing an item from the collection.

Declaration
public static IncrementalKeyedCollection<TKey, TValue> Remove<TKey, TValue>(TValue item) where TKey : notnull where TValue : class, IIncrementalKeyedCollectionItem<TKey>
Parameters
Type Name Description
TValue item
Returns
Type Description
IncrementalKeyedCollection<TKey, TValue>
Type Parameters
Name Description
TKey
TValue

Remove<TKey, TValue>(params TValue[])

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the option of removing items from the collection.

Declaration
public static IncrementalKeyedCollection<TKey, TValue> Remove<TKey, TValue>(params TValue[] items) where TKey : notnull where TValue : class, IIncrementalKeyedCollectionItem<TKey>
Parameters
Type Name Description
TValue[] items
Returns
Type Description
IncrementalKeyedCollection<TKey, TValue>
Type Parameters
Name Description
TKey
TValue

Remove<TKey, TValue>(IEnumerable<TValue>)

Creates a IncrementalKeyedCollection<TKey, TValue> that represents the option of removing items from the collection.

Declaration
public static IncrementalKeyedCollection<TKey, TValue> Remove<TKey, TValue>(IEnumerable<TValue> items) where TKey : notnull where TValue : class, IIncrementalKeyedCollectionItem<TKey>
Parameters
Type Name Description
IEnumerable<TValue> items
Returns
Type Description
IncrementalKeyedCollection<TKey, TValue>
Type Parameters
Name Description
TKey
TValue