Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ImmutableList<T>.ICollection<T>.Remove Method

.NET Framework 4.5

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)
bool ICollection<T>.Remove(
	T 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.