ImmutableSortedSet.ToImmutableSortedSet ImmutableSortedSet.ToImmutableSortedSet ImmutableSortedSet.ToImmutableSortedSet ImmutableSortedSet.ToImmutableSortedSet Method

Definizione

Overload

ToImmutableSortedSet<TSource>(IEnumerable<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

Enumera una sequenza e produce un set ordinato non modificabile del relativo contenuto.Enumerates a sequence and produces an immutable sorted set of its contents.

ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>) ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>) ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>)
ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

Enumera una sequenza, produce un set ordinato non modificabile del relativo contenuto e usa l'operatore di confronto specificato.Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

Enumera una sequenza e produce un set ordinato non modificabile del relativo contenuto.Enumerates a sequence and produces an immutable sorted set of its contents.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Generic::IEnumerable<TSource> ^ source);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Generic.IEnumerable<TSource> source);
static member ToImmutableSortedSet : seq<'Source> -> System.Collections.Immutable.ImmutableSortedSet<'Source>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (source As IEnumerable(Of TSource)) As ImmutableSortedSet(Of TSource)

Parametri di tipo

TSource

Tipo degli elementi nella sequenza.The type of the elements in the sequence.

Parametri

source
IEnumerable<TSource>

Sequenza da enumerare.The sequence to enumerate.

Restituisce

Set ordinato non modificabile che contiene gli elementi nella sequenza specificata.An immutable sorted set that contains the items in the specified sequence.

ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>) ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>) ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>)

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Immutable::ImmutableSortedSet<TSource>::Builder ^ builder);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Immutable.ImmutableSortedSet<TSource>.Builder builder);
static member ToImmutableSortedSet : System.Collections.Immutable.ImmutableSortedSet<'Source>.Builder -> System.Collections.Immutable.ImmutableSortedSet<'Source>

Parametri di tipo

TSource

Parametri

builder
ImmutableSortedSet<TSource>.Builder

Restituisce

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>) ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

Enumera una sequenza, produce un set ordinato non modificabile del relativo contenuto e usa l'operatore di confronto specificato.Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Generic::IEnumerable<TSource> ^ source, System::Collections::Generic::IComparer<TSource> ^ comparer);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Generic.IEnumerable<TSource> source, System.Collections.Generic.IComparer<TSource> comparer);
static member ToImmutableSortedSet : seq<'Source> * System.Collections.Generic.IComparer<'Source> -> System.Collections.Immutable.ImmutableSortedSet<'Source>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (source As IEnumerable(Of TSource), comparer As IComparer(Of TSource)) As ImmutableSortedSet(Of TSource)

Parametri di tipo

TSource

Tipo degli elementi nella sequenza.The type of the elements in the sequence.

Parametri

source
IEnumerable<TSource>

Sequenza da enumerare.The sequence to enumerate.

comparer
IComparer<TSource>

Operatore di confronto da usare per l'inizializzazione e l'aggiunta di membri a un set ordinato.The comparer to use for initializing and adding members to the sorted set.

Restituisce

Set ordinato non modificabile che contiene gli elementi nella sequenza specificata.An immutable sorted set that contains the items in the specified sequence.

Si applica a