ImmutableSortedDictionary<TKey,TValue>.WithComparers ImmutableSortedDictionary<TKey,TValue>.WithComparers ImmutableSortedDictionary<TKey,TValue>.WithComparers ImmutableSortedDictionary<TKey,TValue>.WithComparers Method

Definition

Überlädt

WithComparers(IComparer<TKey>) WithComparers(IComparer<TKey>) WithComparers(IComparer<TKey>) WithComparers(IComparer<TKey>)

Ruft eine Instanz des unveränderlich sortierten Wörterbuchs ab, die den angegebenen Schlüsselvergleich verwendet.Gets an instance of the immutable sorted dictionary that uses the specified key comparer.

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

Ruft eine Instanz des unveränderlich sortierten Wörterbuchs ab, die die angegebenen Schlüssel- und Wertevergleiche verwendet.Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.

WithComparers(IComparer<TKey>) WithComparers(IComparer<TKey>) WithComparers(IComparer<TKey>) WithComparers(IComparer<TKey>)

Ruft eine Instanz des unveränderlich sortierten Wörterbuchs ab, die den angegebenen Schlüsselvergleich verwendet.Gets an instance of the immutable sorted dictionary that uses the specified key comparer.

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)

Parameter

keyComparer
IComparer<TKey>

Der zu verwendende Schlüsselvergleich.The key comparer to use.

Gibt zurück

Eine Instanz des unveränderlichen Wörterbuchs, die den angegebenen Vergleich verwendet.An instance of the immutable dictionary that uses the given comparer.

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

Ruft eine Instanz des unveränderlich sortierten Wörterbuchs ab, die die angegebenen Schlüssel- und Wertevergleiche verwendet.Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.

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)

Parameter

keyComparer
IComparer<TKey>

Der zu verwendende Schlüsselvergleich.The key comparer to use.

valueComparer
IEqualityComparer<TValue>

Der zu verwendende Wertevergleich.The value comparer to use.

Gibt zurück

Eine Instanz des unveränderlichen Wörterbuchs, die die angegebenen Vergleiche verwendet.An instance of the immutable dictionary that uses the given comparers.

Gilt für: