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>::ICollection<T>::Remove Method (T)

 

Removes the first occurrence of a specific object from the immutable list.

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

private:
virtual bool Remove(
	T item
) sealed = ICollection<T>::Remove

Parameters

item
Type: T

The object to remove.

Return Value

Type: System::Boolean

true if item was successfully removed from the list; otherwise, false. This method also returns false if item is not found in the original list.

This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an ICollection<T> interface.

Return to top
Show:
© 2017 Microsoft