Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableDictionary<TKey, TValue>::WithComparers Method (IEqualityComparer<TKey>^)

 

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

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

public:
ImmutableDictionary<TKey, TValue>^ WithComparers(
	IEqualityComparer<TKey>^ keyComparer
)

Parameters

keyComparer
Type: System.Collections.Generic::IEqualityComparer<TKey>^

The key comparer to use.

Return Value

Type: System.Collections.Immutable::ImmutableDictionary<TKey, TValue>^

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

Return to top
Show:
© 2017 Microsoft