ImmutableSortedDictionary<TKey,TValue>.WithComparers 메서드

정의

오버로드

WithComparers(IComparer<TKey>)

지정된 키 비교자를 사용하는 변경할 수 없는 정렬된 사전의 인스턴스를 가져옵니다.

WithComparers(IComparer<TKey>, IEqualityComparer<TValue>)

지정된 키 및 값 비교자를 사용하는 변경할 수 없는 정렬된 사전의 인스턴스를 가져옵니다.

WithComparers(IComparer<TKey>)

Source:
ImmutableSortedDictionary_2.cs
Source:
ImmutableSortedDictionary_2.cs
Source:
ImmutableSortedDictionary_2.cs

지정된 키 비교자를 사용하는 변경할 수 없는 정렬된 사전의 인스턴스를 가져옵니다.

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ WithComparers(System::Collections::Generic::IComparer<TKey> ^ keyComparer);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> WithComparers (System.Collections.Generic.IComparer<TKey> keyComparer);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> WithComparers (System.Collections.Generic.IComparer<TKey>? keyComparer);
member this.WithComparers : System.Collections.Generic.IComparer<'Key> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function WithComparers (keyComparer As IComparer(Of TKey)) As ImmutableSortedDictionary(Of TKey, TValue)

매개 변수

keyComparer
IComparer<TKey>

사용할 키 비교자입니다.

반환

지정된 비교자를 사용하는 변경할 수 없는 사전의 인스턴스입니다.

적용 대상

WithComparers(IComparer<TKey>, IEqualityComparer<TValue>)

Source:
ImmutableSortedDictionary_2.cs
Source:
ImmutableSortedDictionary_2.cs
Source:
ImmutableSortedDictionary_2.cs

지정된 키 및 값 비교자를 사용하는 변경할 수 없는 정렬된 사전의 인스턴스를 가져옵니다.

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ WithComparers(System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> WithComparers (System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> WithComparers (System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer);
member this.WithComparers : System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function WithComparers (keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableSortedDictionary(Of TKey, TValue)

매개 변수

keyComparer
IComparer<TKey>

사용할 키 비교자입니다.

valueComparer
IEqualityComparer<TValue>

사용할 값 비교자입니다.

반환

지정된 비교자를 사용하는 변경할 수 없는 사전의 인스턴스입니다.

적용 대상