ImmutableSortedSet.CreateRange Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| CreateRange<T>(IEnumerable<T>) |
Cria uma nova coleção imutável que contém os itens especificados. |
| CreateRange<T>(IComparer<T>, IEnumerable<T>) |
Cria uma nova coleção imutável que contém os itens especificados. |
CreateRange<T>(IEnumerable<T>)
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
Cria uma nova coleção imutável que contém os itens especificados.
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)
Parâmetros de Tipo Genérico
- T
O tipo de itens armazenados pela coleção.
Parâmetros
- items
- IEnumerable<T>
Os itens para adicionar ao conjunto antes de se tornar imutável.
Devoluções
O novo conjunto imutável que contém os itens especificados.
Aplica-se a
CreateRange<T>(IComparer<T>, IEnumerable<T>)
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
- Origem:
- ImmutableSortedSet.cs
Cria uma nova coleção imutável que contém os itens especificados.
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)
Parâmetros de Tipo Genérico
- T
O tipo de itens armazenados pela coleção.
Parâmetros
- comparer
- IComparer<T>
O comparador a usar para comparar elementos neste conjunto.
- items
- IEnumerable<T>
Os itens para adicionar ao conjunto antes de se tornar imutável.
Devoluções
O novo conjunto imutável que contém os itens especificados.