ImmutableSortedSet.CreateRange Méthode

Définition

Surcharges

Nom Description
CreateRange<T>(IEnumerable<T>)

Crée une collection immuable qui contient les éléments spécifiés.

CreateRange<T>(IComparer<T>, IEnumerable<T>)

Crée une collection immuable qui contient les éléments spécifiés.

CreateRange<T>(IEnumerable<T>)

Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs

Crée une collection immuable qui contient les éléments spécifiés.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ CreateRange(System::Collections::Generic::IEnumerable<T> ^ items);
public static System.Collections.Immutable.ImmutableSortedSet<T> CreateRange<T>(System.Collections.Generic.IEnumerable<T> items);
static member CreateRange : seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function CreateRange(Of T) (items As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

Paramètres de type

T

Type d’éléments stockés par la collection.

Paramètres

items
IEnumerable<T>

Éléments à ajouter à l’ensemble avant qu’il ne soit immuable.

Retours

Nouveau jeu immuable qui contient les éléments spécifiés.

S’applique à

CreateRange<T>(IComparer<T>, IEnumerable<T>)

Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs

Crée une collection immuable qui contient les éléments spécifiés.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ CreateRange(System::Collections::Generic::IComparer<T> ^ comparer, System::Collections::Generic::IEnumerable<T> ^ items);
public static System.Collections.Immutable.ImmutableSortedSet<T> CreateRange<T>(System.Collections.Generic.IComparer<T> comparer, System.Collections.Generic.IEnumerable<T> items);
public static System.Collections.Immutable.ImmutableSortedSet<T> CreateRange<T>(System.Collections.Generic.IComparer<T>? comparer, System.Collections.Generic.IEnumerable<T> items);
static member CreateRange : System.Collections.Generic.IComparer<'T> * seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function CreateRange(Of T) (comparer As IComparer(Of T), items As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

Paramètres de type

T

Type d’éléments stockés par la collection.

Paramètres

comparer
IComparer<T>

Comparateur à utiliser pour comparer des éléments dans cet ensemble.

items
IEnumerable<T>

Éléments à ajouter à l’ensemble avant qu’il ne soit immuable.

Retours

Nouveau jeu immuable qui contient les éléments spécifiés.

S’applique à