Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableList<T>::Remove Method (T, IEqualityComparer<T>^)

 

Removes the first occurrence of the object that matches the specified value from this immutable list.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public:
ImmutableList<T>^ Remove(
	T value,
	IEqualityComparer<T>^ equalityComparer
)

Parameters

value
Type: T

The value of the element to remove from the list.

equalityComparer
Type: System.Collections.Generic::IEqualityComparer<T>^

The equality comparer to use in the search.

Return Value

Type: System.Collections.Immutable::ImmutableList<T>^

A new list with the object removed, or this list if the specified object is not in this list.

Return to top
Show:
© 2017 Microsoft