ImmutableSortedSet.ToImmutableSortedSet 메서드

정의

오버로드

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성합니다.

ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder)

작성기 집합의 현재 콘텐츠에서 변경할 수 없는 정렬된 집합을 만듭니다.

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

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

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성합니다.

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

시퀀스의 요소 형식입니다.

매개 변수

source
IEnumerable<TSource>

열거할 시퀀스입니다.

반환

ImmutableSortedSet<TSource>

지정된 시퀀스의 항목을 포함하는 변경할 수 없는 정렬된 집합입니다.

적용 대상

ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder)

작성기 집합의 현재 콘텐츠에서 변경할 수 없는 정렬된 집합을 만듭니다.

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>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (builder As ImmutableSortedSet(Of TSource).Builder) As ImmutableSortedSet(Of TSource)

형식 매개 변수

TSource

변경할 수 없는 정렬된 집합에 있는 요소의 형식입니다.

매개 변수

builder
ImmutableSortedSet<TSource>.Builder

변경할 수 없는 정렬된 집합을 만들 작성기입니다.

반환

ImmutableSortedSet<TSource>

작성기 집합의 현재 콘텐츠를 포함하는 변경할 수 없는 정렬된 집합입니다.

적용 대상

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

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

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);
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

시퀀스의 요소 형식입니다.

매개 변수

source
IEnumerable<TSource>

열거할 시퀀스입니다.

comparer
IComparer<TSource>

정렬된 집합을 초기화하고 구성원을 추가하는 데 사용할 비교자입니다.

반환

ImmutableSortedSet<TSource>

지정된 시퀀스의 항목을 포함하는 변경할 수 없는 정렬된 집합입니다.

적용 대상