ImmutableDictionary.Create 메서드

정의

오버로드

Name Description
Create<TKey,TValue>()

변경할 수 없는 빈 사전을 만듭니다.

Create<TKey,TValue>(IEqualityComparer<TKey>)

지정된 키 비교자를 사용하는 변경할 수 없는 빈 사전을 만듭니다.

Create<TKey,TValue>(IEqualityComparer<TKey>, IEqualityComparer<TValue>)

지정된 키와 값 비교자를 사용하는 변경할 수 없는 빈 사전을 만듭니다.

Create<TKey,TValue>()

Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs

변경할 수 없는 빈 사전을 만듭니다.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableDictionary<TKey, TValue> ^ Create();
public static System.Collections.Immutable.ImmutableDictionary<TKey,TValue> Create<TKey,TValue>();
static member Create : unit -> System.Collections.Immutable.ImmutableDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) () As ImmutableDictionary(Of TKey, TValue)

형식 매개 변수

TKey

사전에서 저장한 키의 형식입니다.

TValue

사전에 저장된 값의 형식입니다.

반품

변경할 수 없는 빈 사전입니다.

적용 대상

Create<TKey,TValue>(IEqualityComparer<TKey>)

Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs

지정된 키 비교자를 사용하는 변경할 수 없는 빈 사전을 만듭니다.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableDictionary<TKey, TValue> ^ Create(System::Collections::Generic::IEqualityComparer<TKey> ^ keyComparer);
public static System.Collections.Immutable.ImmutableDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IEqualityComparer<TKey> keyComparer);
public static System.Collections.Immutable.ImmutableDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IEqualityComparer<TKey>? keyComparer);
static member Create : System.Collections.Generic.IEqualityComparer<'Key> -> System.Collections.Immutable.ImmutableDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) (keyComparer As IEqualityComparer(Of TKey)) As ImmutableDictionary(Of TKey, TValue)

형식 매개 변수

TKey

사전에서 저장한 키의 형식입니다.

TValue

사전에 저장된 값의 형식입니다.

매개 변수

keyComparer
IEqualityComparer<TKey>

사전에서 키의 같음을 확인하는 데 사용할 구현입니다.

반품

변경할 수 없는 빈 사전입니다.

적용 대상

Create<TKey,TValue>(IEqualityComparer<TKey>, IEqualityComparer<TValue>)

Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs
Source:
ImmutableDictionary.cs

지정된 키와 값 비교자를 사용하는 변경할 수 없는 빈 사전을 만듭니다.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableDictionary<TKey, TValue> ^ Create(System::Collections::Generic::IEqualityComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public static System.Collections.Immutable.ImmutableDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IEqualityComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
public static System.Collections.Immutable.ImmutableDictionary<TKey,TValue> Create<TKey,TValue>(System.Collections.Generic.IEqualityComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);
static member Create : System.Collections.Generic.IEqualityComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableDictionary<'Key, 'Value>
Public Function Create(Of TKey, TValue) (keyComparer As IEqualityComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableDictionary(Of TKey, TValue)

형식 매개 변수

TKey

사전에서 저장한 키의 형식입니다.

TValue

사전에 저장된 값의 형식입니다.

매개 변수

keyComparer
IEqualityComparer<TKey>

사전에서 키의 같음을 확인하는 데 사용할 구현입니다.

valueComparer
IEqualityComparer<TValue>

사전에서 값의 같음을 확인하는 데 사용할 구현입니다.

반품

변경할 수 없는 빈 사전입니다.

적용 대상