ImmutableSortedSet.CreateRange Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.