ImmutableSortedSet.Create 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Create<T>() |
변경할 수 없는 정렬된 빈 집합을 만듭니다. |
| Create<T>(IComparer<T>) |
지정된 비교자를 사용하는 변경할 수 없는 정렬된 빈 집합을 만듭니다. |
| Create<T>(T) |
지정된 항목이 포함된 변경할 수 없는 정렬된 새 집합을 만듭니다. |
| Create<T>(T[]) |
지정된 항목 배열이 포함된 변경할 수 없는 정렬된 새 집합을 만듭니다. |
| Create<T>(IComparer<T>, T) |
지정된 항목을 포함하고 지정된 비교자를 사용하는 변경할 수 없는 정렬된 새 집합을 만듭니다. |
| Create<T>(IComparer<T>, T[]) |
지정된 항목 배열을 포함하고 지정된 비교자를 사용하는 변경할 수 없는 정렬된 새 집합을 만듭니다. |
Create<T>()
변경할 수 없는 정렬된 빈 집합을 만듭니다.
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)
형식 매개 변수
- T
변경할 수 없는 집합에 저장할 항목의 형식입니다.
반환
변경할 수 없는 정렬된 빈 집합입니다.
적용 대상
Create<T>(IComparer<T>)
지정된 비교자를 사용하는 변경할 수 없는 정렬된 빈 집합을 만듭니다.
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)
형식 매개 변수
- T
변경할 수 없는 집합에 있는 항목의 형식입니다.
매개 변수
- comparer
- IComparer<T>
집합의 항목을 비교할 때 사용할 구현입니다.
반환
변경할 수 없는 빈 집합입니다.
적용 대상
Create<T>(T)
지정된 항목이 포함된 변경할 수 없는 정렬된 새 집합을 만듭니다.
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)
형식 매개 변수
- T
변경할 수 없는 집합에 있는 항목의 형식입니다.
매개 변수
- item
- T
집합을 미리 채울 항목입니다.
반환
지정된 항목이 포함된 변경할 수 없는 새 집합입니다.
적용 대상
Create<T>(T[])
지정된 항목 배열이 포함된 변경할 수 없는 정렬된 새 집합을 만듭니다.
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)
형식 매개 변수
- T
변경할 수 없는 집합에 있는 항목의 형식입니다.
매개 변수
- items
- T[]
집합을 미리 채우는 데 사용할 항목이 포함된 배열입니다.
반환
지정된 항목이 포함된 변경할 수 없는 새 집합입니다.
적용 대상
Create<T>(IComparer<T>, T)
지정된 항목을 포함하고 지정된 비교자를 사용하는 변경할 수 없는 정렬된 새 집합을 만듭니다.
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)
형식 매개 변수
- T
변경할 수 없는 집합에 저장된 항목의 형식입니다.
매개 변수
- comparer
- IComparer<T>
집합의 항목을 비교할 때 사용할 구현입니다.
- item
- T
집합을 미리 채울 항목입니다.
반환
지정된 항목이 포함된 변경할 수 없는 새 집합입니다.
적용 대상
Create<T>(IComparer<T>, T[])
지정된 항목 배열을 포함하고 지정된 비교자를 사용하는 변경할 수 없는 정렬된 새 집합을 만듭니다.
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)
형식 매개 변수
- T
변경할 수 없는 집합에 있는 항목의 형식입니다.
매개 변수
- comparer
- IComparer<T>
집합의 항목을 비교할 때 사용할 구현입니다.
- items
- T[]
집합을 미리 채우는 데 사용할 항목이 포함된 배열입니다.
반환
지정된 항목이 포함된 변경할 수 없는 새 집합입니다.