ImmutableArray<T>::RemoveRange Method (Int32, Int32)

 

Returns an array with the elements at the specified position removed.

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

public:
ImmutableArray<T> RemoveRange(
	int index,
	int length
)

Parameters

index
Type: System::Int32

The 0-based index of the starting element to remove from the array.

length
Type: System::Int32

The number of elements to remove from the array.

Return Value

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

The new array with the specified elements removed.

Return to top
Show: