ImmutableArray<T>::Remove Method (T)

 

Returns an array with the first occurrence of the specified element removed from the array. If no match is found, the current array is returned.

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

public:
ImmutableArray<T> Remove(
	T item
)

Parameters

item
Type: T

The item to remove.

Return Value

Type: System.Collections.Immutable::ImmutableArray<T>

A new array with the item removed.

Return to top
Show: