ImmutableSortedDictionary<TKey, TValue>.WithComparers Method (IComparer<TKey>)

 

Gets an instance of the immutable sorted dictionary that uses the specified key comparer.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public ImmutableSortedDictionary<TKey, TValue> WithComparers(
	IComparer<TKey> keyComparer
)

Parameters

keyComparer
Type: System.Collections.Generic.IComparer<TKey>

The key comparer to use.

Return Value

Type: System.Collections.Immutable.ImmutableSortedDictionary<TKey, TValue>

An instance of the immutable dictionary that uses the given comparer.

Return to top
Show: