ImmutableHashSet.Create 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| Create<T>() |
변경할 수 없는 빈 해시 집합을 만듭니다. |
| Create<T>(IEqualityComparer<T>) |
지정된 같음 비교자를 사용하는 변경할 수 없는 빈 해시 집합을 만듭니다. |
| Create<T>(ReadOnlySpan<T>) |
지정된 항목으로 미리 채워진 변경할 수 없는 새 컬렉션을 만듭니다. |
| Create<T>(T) |
지정된 항목을 포함하는 변경할 수 없는 새 해시 집합을 만듭니다. |
| Create<T>(T[]) |
지정된 항목 배열을 포함하는 변경할 수 없는 새 해시 집합을 만듭니다. |
| Create<T>(IEqualityComparer<T>, ReadOnlySpan<T>) |
지정된 항목으로 미리 채워진 변경할 수 없는 새 컬렉션을 만듭니다. |
| Create<T>(IEqualityComparer<T>, T) |
지정된 항목을 포함하고 집합 형식에 대해 지정된 같음 비교자를 사용하는 변경할 수 없는 새 해시 집합을 만듭니다. |
| Create<T>(IEqualityComparer<T>, T[]) |
지정된 컬렉션의 항목을 포함하고 집합 형식에 대해 지정된 같음 비교자를 사용하는 변경할 수 없는 새 해시 집합을 만듭니다. |
Create<T>()
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
변경할 수 없는 빈 해시 집합을 만듭니다.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableHashSet<T> ^ Create();
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>();
static member Create : unit -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Create(Of T) () As ImmutableHashSet(Of T)
형식 매개 변수
- T
변경할 수 없는 해시 집합에 저장할 항목의 형식입니다.
반품
변경할 수 없는 빈 해시 집합입니다.
적용 대상
Create<T>(IEqualityComparer<T>)
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
지정된 같음 비교자를 사용하는 변경할 수 없는 빈 해시 집합을 만듭니다.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableHashSet<T> ^ Create(System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
static member Create : System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Create(Of T) (equalityComparer As IEqualityComparer(Of T)) As ImmutableHashSet(Of T)
형식 매개 변수
- T
변경할 수 없는 해시 집합의 항목 형식입니다.
매개 변수
- equalityComparer
- IEqualityComparer<T>
같음을 위해 집합의 개체를 비교하는 데 사용할 개체입니다.
반품
변경할 수 없는 빈 해시 집합입니다.
적용 대상
Create<T>(ReadOnlySpan<T>)
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
지정된 항목으로 미리 채워진 변경할 수 없는 새 컬렉션을 만듭니다.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableHashSet<T> ^ Create(ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(scoped ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(ReadOnlySpan<T> items);
static member Create : ReadOnlySpan<'T> -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Create(Of T) (items As ReadOnlySpan(Of T)) As ImmutableHashSet(Of T)
형식 매개 변수
- T
컬렉션에 의해 저장된 항목의 형식입니다.
매개 변수
- items
- ReadOnlySpan<T>
미리 채워야 하는 항목입니다.
반품
변경할 수 없는 새 컬렉션입니다.
적용 대상
Create<T>(T)
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
지정된 항목을 포함하는 변경할 수 없는 새 해시 집합을 만듭니다.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableHashSet<T> ^ Create(T item);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(T item);
static member Create : 'T -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Create(Of T) (item As T) As ImmutableHashSet(Of T)
형식 매개 변수
- T
변경할 수 없는 해시 집합의 항목 형식입니다.
매개 변수
- item
- T
해시 집합을 미리 채우려는 항목입니다.
반품
지정된 항목을 포함하는 변경할 수 없는 새 해시 집합입니다.
적용 대상
Create<T>(T[])
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
지정된 항목 배열을 포함하는 변경할 수 없는 새 해시 집합을 만듭니다.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableHashSet<T> ^ Create(... cli::array <T> ^ items);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(params T[] items);
static member Create : 'T[] -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Create(Of T) (ParamArray items As T()) As ImmutableHashSet(Of T)
형식 매개 변수
- T
변경할 수 없는 해시 집합의 항목 형식입니다.
매개 변수
- items
- T[]
해시 집합을 미리 채우려는 항목이 들어 있는 배열입니다.
반품
지정된 항목을 포함하는 변경할 수 없는 새 해시 집합입니다.
적용 대상
Create<T>(IEqualityComparer<T>, ReadOnlySpan<T>)
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
지정된 항목으로 미리 채워진 변경할 수 없는 새 컬렉션을 만듭니다.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableHashSet<T> ^ Create(System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer, ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer, scoped ReadOnlySpan<T> items);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer, ReadOnlySpan<T> items);
static member Create : System.Collections.Generic.IEqualityComparer<'T> * ReadOnlySpan<'T> -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Create(Of T) (equalityComparer As IEqualityComparer(Of T), items As ReadOnlySpan(Of T)) As ImmutableHashSet(Of T)
형식 매개 변수
- T
컬렉션에 의해 저장된 항목의 형식입니다.
매개 변수
- equalityComparer
- IEqualityComparer<T>
같음 비교자입니다.
- items
- ReadOnlySpan<T>
미리 채워야 하는 항목입니다.
반품
변경할 수 없는 새 컬렉션입니다.
적용 대상
Create<T>(IEqualityComparer<T>, T)
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
지정된 항목을 포함하고 집합 형식에 대해 지정된 같음 비교자를 사용하는 변경할 수 없는 새 해시 집합을 만듭니다.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableHashSet<T> ^ Create(System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer, T item);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T> equalityComparer, T item);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer, T item);
static member Create : System.Collections.Generic.IEqualityComparer<'T> * 'T -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Create(Of T) (equalityComparer As IEqualityComparer(Of T), item As T) As ImmutableHashSet(Of T)
형식 매개 변수
- T
변경할 수 없는 해시 집합의 항목 형식입니다.
매개 변수
- equalityComparer
- IEqualityComparer<T>
같음을 위해 집합의 개체를 비교하는 데 사용할 개체입니다.
- item
- T
해시 집합을 미리 채우려는 항목입니다.
반품
지정된 항목을 포함하는 변경할 수 없는 새 해시 집합입니다.
적용 대상
Create<T>(IEqualityComparer<T>, T[])
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
- Source:
- ImmutableHashSet.cs
지정된 컬렉션의 항목을 포함하고 집합 형식에 대해 지정된 같음 비교자를 사용하는 변경할 수 없는 새 해시 집합을 만듭니다.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableHashSet<T> ^ Create(System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer, ... cli::array <T> ^ items);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T> equalityComparer, params T[] items);
public static System.Collections.Immutable.ImmutableHashSet<T> Create<T>(System.Collections.Generic.IEqualityComparer<T>? equalityComparer, params T[] items);
static member Create : System.Collections.Generic.IEqualityComparer<'T> * 'T[] -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Create(Of T) (equalityComparer As IEqualityComparer(Of T), ParamArray items As T()) As ImmutableHashSet(Of T)
형식 매개 변수
- T
변경할 수 없는 해시 집합에 저장된 항목의 형식입니다.
매개 변수
- equalityComparer
- IEqualityComparer<T>
같음을 위해 집합의 개체를 비교하는 데 사용할 개체입니다.
- items
- T[]
해시 집합을 미리 채우려는 항목이 들어 있는 배열입니다.
반품
지정된 항목을 포함하는 변경할 수 없는 새 해시 집합입니다.