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::Remove<T> Method (IImmutableList<T>^, T)

 

Removes the specified value from this list.

Namespace:   System.Collections.Immutable
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.

Return to top
Show:
© 2017 Microsoft