Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

OrderedMultiDictionary<(Of <(<'TKey, TValue>)>)>..::..KeyComparer Property

Returns the IComparer<T> used to compare keys in this dictionary.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public IComparer<TKey> KeyComparer { get; }
Public ReadOnly Property KeyComparer As IComparer(Of TKey)
	Get
public:
property IComparer<TKey>^ KeyComparer {
	IComparer<TKey>^ get ();
}

Field Value

If the dictionary was created using a comparer, that comparer is returned. If the dictionary was created using a comparison delegate, then a comparer equivalent to that delegate is returned. Otherwise the default comparer for TKey (Comparer<TKey>.Default) is returned.