ImmutableList::Remove<T> Method (IImmutableList<T>^, T)
Removes the specified value from this list.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
public: generic<typename T> [ExtensionAttribute] static IImmutableList<T>^ Remove( IImmutableList<T>^ list, T value )
Parameters
- list
-
Type:
System.Collections.Immutable::IImmutableList<T>^
The list to search.
- value
-
Type:
T
The value to remove.
Return Value
Type: System.Collections.Immutable::IImmutableList<T>^A new immutable list with the element removed, or this list if the element is not in this list.
Type Parameters
- T
The type of items in the list.
Show: