ImmutableSortedSet.Create Método

Definição

Sobrecargas

Name Description
Create<T>()

Cria um conjunto ordenado vazio e imutável.

Create<T>(IComparer<T>)

Cria um conjunto ordenado vazio e imutável que usa o comparador especificado.

Create<T>(T)

Cria um novo conjunto ordenado imutável que contém o item especificado.

Create<T>(T[])

Cria um novo conjunto ordenado imutável que contém o array especificado de itens.

Create<T>(IComparer<T>, T)

Cria um novo conjunto ordenado imutável que contém o item especificado e usa o comparador especificado.

Create<T>(IComparer<T>, T[])

Cria um novo conjunto ordenado imutável que contém o array especificado de itens e utiliza o comparador especificado.

Create<T>()

Cria um conjunto ordenado vazio e imutável.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ Create();
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>();
static member Create : unit -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Create(Of T) () As ImmutableSortedSet(Of T)

Parâmetros de Tipo Genérico

T

O tipo de itens a armazenar no conjunto imutável.

Devoluções

Um conjunto vazio e imutável e organizado.

Aplica-se a

Create<T>(IComparer<T>)

Cria um conjunto ordenado vazio e imutável que usa o comparador especificado.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ Create(System::Collections::Generic::IComparer<T> ^ comparer);
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(System.Collections.Generic.IComparer<T> comparer);
static member Create : System.Collections.Generic.IComparer<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Create(Of T) (comparer As IComparer(Of T)) As ImmutableSortedSet(Of T)

Parâmetros de Tipo Genérico

T

O tipo de itens no conjunto imutável.

Parâmetros

comparer
IComparer<T>

A implementação a usar ao comparar itens no conjunto.

Devoluções

Um cenário vazio e imutável.

Aplica-se a

Create<T>(T)

Cria um novo conjunto ordenado imutável que contém o item especificado.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ Create(T item);
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(T item);
static member Create : 'T -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Create(Of T) (item As T) As ImmutableSortedSet(Of T)

Parâmetros de Tipo Genérico

T

O tipo de itens no conjunto imutável.

Parâmetros

item
T

O item para pré-preencher o conjunto.

Devoluções

Um novo conjunto imutável que contém o item especificado.

Aplica-se a

Create<T>(T[])

Cria um novo conjunto ordenado imutável que contém o array especificado de itens.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ Create(... cli::array <T> ^ items);
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(params T[] items);
static member Create : 'T[] -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Create(Of T) (ParamArray items As T()) As ImmutableSortedSet(Of T)

Parâmetros de Tipo Genérico

T

O tipo de itens no conjunto imutável.

Parâmetros

items
T[]

Um array que contém os itens para pré-preencher o conjunto.

Devoluções

Um novo conjunto imutável que contém os itens especificados.

Aplica-se a

Create<T>(IComparer<T>, T)

Cria um novo conjunto ordenado imutável que contém o item especificado e usa o comparador especificado.

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

Parâmetros de Tipo Genérico

T

O tipo de itens armazenados no conjunto imutável.

Parâmetros

comparer
IComparer<T>

A implementação a usar ao comparar itens no conjunto.

item
T

O item para pré-preencher o conjunto.

Devoluções

Um novo conjunto imutável que contém o item especificado.

Aplica-se a

Create<T>(IComparer<T>, T[])

Cria um novo conjunto ordenado imutável que contém o array especificado de itens e utiliza o comparador especificado.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ Create(System::Collections::Generic::IComparer<T> ^ comparer, ... cli::array <T> ^ items);
public static System.Collections.Immutable.ImmutableSortedSet<T> Create<T>(System.Collections.Generic.IComparer<T> comparer, params T[] items);
static member Create : System.Collections.Generic.IComparer<'T> * 'T[] -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Create(Of T) (comparer As IComparer(Of T), ParamArray items As T()) As ImmutableSortedSet(Of T)

Parâmetros de Tipo Genérico

T

O tipo de itens no conjunto imutável.

Parâmetros

comparer
IComparer<T>

A implementação a usar ao comparar itens no conjunto.

items
T[]

Um array que contém os itens para pré-preencher o conjunto.

Devoluções

Um novo conjunto imutável que contém os itens especificados.

Aplica-se a