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

정의

오버로드

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

시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성합니다.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>)

시퀀스를 열거하고, 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성하며, 지정된 비교자를 사용합니다.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>)

시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성합니다.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)

형식 매개 변수

TSource

시퀀스의 요소 형식입니다.The type of the elements in the sequence.

매개 변수

source
IEnumerable<TSource>

열거할 시퀀스입니다.The sequence to enumerate.

반환

지정된 시퀀스의 항목을 포함하는 변경할 수 없는 정렬된 집합입니다.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>

형식 매개 변수

TSource

매개 변수

builder
ImmutableSortedSet<TSource>.Builder

반환

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

시퀀스를 열거하고, 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성하며, 지정된 비교자를 사용합니다.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)

형식 매개 변수

TSource

시퀀스의 요소 형식입니다.The type of the elements in the sequence.

매개 변수

source
IEnumerable<TSource>

열거할 시퀀스입니다.The sequence to enumerate.

comparer
IComparer<TSource>

정렬된 집합을 초기화하고 구성원을 추가하는 데 사용할 비교자입니다.The comparer to use for initializing and adding members to the sorted set.

반환

지정된 시퀀스의 항목을 포함하는 변경할 수 없는 정렬된 집합입니다.An immutable sorted set that contains the items in the specified sequence.

적용 대상