ImmutableSortedSet::CreateRange<T> Method (IEnumerable<T>^)

 

Creates a new immutable collection that contains the specified items.

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

public:
generic<typename T>
static ImmutableSortedSet<T>^ CreateRange(
	IEnumerable<T>^ items
)

Parameters

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

The items to add to the set with before it’s immutable.

Return Value

Type: System.Collections.Immutable::ImmutableSortedSet<T>^

The new immutable set that contains the specified items.

Type Parameters

T

The type of items stored by the collection.

Return to top
Show: