IImmutableList(T).AddRange Method

ImmutableList<T>.IImmutableList<T>.AddRange Method (IEnumerable<T>)

 

Adds the specified values to this immutable list.

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

IImmutableList<T> IImmutableList<T>.AddRange(
	IEnumerable<T> items
)

Parameters

items
Type: System.Collections.Generic.IEnumerable<T>

The values to add.

Return Value

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

A new list with the elements added, or this list if the elements are already in the list.

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
Show:
© 2016 Microsoft