OrderedDictionaryTKey, TValueComparer Property |
Returns the IComparer<T> used to compare keys in this dictionary.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic IComparer<TKey> Comparer { get; }
public:
property IComparer<TKey>^ Comparer {
IComparer<TKey>^ get ();
}
Property Value
Type:
IComparerTKeyIf 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.
See Also