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

 

Removes a range of elements, starting from the specified index and containing the specified number of elements, from this immutable list.

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

public ImmutableList<T> RemoveRange(
	int index,
	int count
)

Parameters

index
Type: System.Int32

The starting index to begin removal.

count
Type: System.Int32

The number of elements to remove.

Return Value

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

A new list with the elements removed.

Return to top
Show: