Share via


ImmutableSortedSet.CreateRange 메서드

정의

오버로드

CreateRange<T>(IEnumerable<T>)

지정된 항목이 포함된 변경할 수 없는 새 컬렉션을 만듭니다.

CreateRange<T>(IComparer<T>, IEnumerable<T>)

지정된 항목이 포함된 변경할 수 없는 새 컬렉션을 만듭니다.

CreateRange<T>(IEnumerable<T>)

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

지정된 항목이 포함된 변경할 수 없는 새 컬렉션을 만듭니다.

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

형식 매개 변수

T

컬렉션에 의해 저장되는 항목의 형식입니다.

매개 변수

items
IEnumerable<T>

변경할 수 없는 상태가 되기 전에 집합에 추가할 항목입니다.

반환

지정된 항목이 포함된 변경할 수 없는 새 집합입니다.

적용 대상

CreateRange<T>(IComparer<T>, IEnumerable<T>)

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

지정된 항목이 포함된 변경할 수 없는 새 컬렉션을 만듭니다.

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

형식 매개 변수

T

컬렉션에 의해 저장되는 항목의 형식입니다.

매개 변수

comparer
IComparer<T>

이 집합의 요소를 비교하는 데 사용할 비교자입니다.

items
IEnumerable<T>

변경할 수 없는 상태가 되기 전에 집합에 추가할 항목입니다.

반환

지정된 항목이 포함된 변경할 수 없는 새 집합입니다.

적용 대상