ImmutableList<T>.IImmutableList<T>.RemoveRange Method (Int32, Int32)


Removes the specified number of elements at the specified location from this list.

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

IImmutableList<T> IImmutableList<T>.RemoveRange(
	int index,
	int count


Type: System.Int32

The starting index of the range of elements to remove.

Type: System.Int32

The number of elements to remove.

Return Value

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

A new list with the elements removed.

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

Return to top