Share via


ImmutableSortedSet.Create Método

Definición

Sobrecargas

Create<T>()

Crea un nuevo conjunto ordenado inmutable vacío.

Create<T>(IComparer<T>)

Crea un conjunto ordenado inmutable vacío que usa el comparador especificado.

Create<T>(ReadOnlySpan<T>)

Crea un nuevo conjunto ordenado inmutable que contiene la matriz especificada de elementos.

Create<T>(T)

Crea un nuevo conjunto ordenado inmutable que contiene el elemento especificado.

Create<T>(T[])

Crea un nuevo conjunto ordenado inmutable que contiene la matriz especificada de elementos.

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

Crea una nueva colección inmutable rellenada previamente con los elementos especificados.

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

Crea un nuevo conjunto ordenado inmutable que contiene el elemento especificado y usa el comparador especificado.

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

Crea un nuevo conjunto ordenado inmutable que contiene la matriz especificada de elementos y usa el comparador especificado.

Create<T>()

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

Crea un nuevo conjunto ordenado inmutable vacío.

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

T

Tipo de elementos que se almacenará en el conjunto inmutable.

Devoluciones

Conjunto ordenado inmutable vacío.

Se aplica a

Create<T>(IComparer<T>)

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

Crea un conjunto ordenado inmutable vacío que usa el 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);
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

T

Tipo de elementos del conjunto inmutable.

Parámetros

comparer
IComparer<T>

Implementación que se va a usar al comparar los elementos del conjunto.

Devoluciones

Conjunto inmutable vacío.

Se aplica a

Create<T>(ReadOnlySpan<T>)

Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs

Crea un nuevo conjunto ordenado inmutable que contiene la matriz especificada de elementos.

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

Parámetros de tipo

T

Tipo de elementos del conjunto inmutable.

Parámetros

items
ReadOnlySpan<T>

Intervalo que contiene los elementos con los que rellenar previamente el conjunto.

Devoluciones

Nuevo conjunto inmutable que contiene los elementos especificados.

Se aplica a

Create<T>(T)

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

Crea un nuevo conjunto ordenado inmutable que contiene el elemento 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

T

Tipo de elementos del conjunto inmutable.

Parámetros

item
T

Elemento con el que rellenar el conjunto.

Devoluciones

Nuevo conjunto inmutable que contiene el elemento especificado.

Se aplica a

Create<T>(T[])

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

Crea un nuevo conjunto ordenado inmutable que contiene la matriz especificada de elementos.

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

T

Tipo de elementos del conjunto inmutable.

Parámetros

items
T[]

Matriz que contiene los elementos con los que rellenar el conjunto.

Devoluciones

Nuevo conjunto inmutable que contiene los elementos especificados.

Se aplica a

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

Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs

Crea una nueva colección inmutable rellenada previamente con los elementos especificados.

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

Parámetros de tipo

T

Tipo de elementos ordenados por colección.

Parámetros

comparer
IComparer<T>

Comparador.

items
ReadOnlySpan<T>

Elementos que se van a rellenar previamente.

Devoluciones

Nueva colección inmutable.

Se aplica a

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

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

Crea un nuevo conjunto ordenado inmutable que contiene el elemento especificado y usa el 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);
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

T

Tipo de elementos almacenado en el conjunto inmutable.

Parámetros

comparer
IComparer<T>

Implementación que se va a usar al comparar los elementos del conjunto.

item
T

Elemento con el que rellenar el conjunto.

Devoluciones

Nuevo conjunto inmutable que contiene el elemento especificado.

Se aplica a

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

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

Crea un nuevo conjunto ordenado inmutable que contiene la matriz especificada de elementos y usa el 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);
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

T

Tipo de elementos del conjunto inmutable.

Parámetros

comparer
IComparer<T>

Implementación que se va a usar al comparar los elementos del conjunto.

items
T[]

Matriz que contiene los elementos con los que rellenar el conjunto.

Devoluciones

Nuevo conjunto inmutable que contiene los elementos especificados.

Se aplica a