Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft