OrderedDictionaryTKey, TValue Constructor (IComparerTKey) |
Creates a new OrderedDictionary. The Compare method of the passed comparison object
will be 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 OrderedDictionary(
IComparer<TKey> comparer
)
public:
OrderedDictionary(
IComparer<TKey>^ comparer
)
Parameters
- comparer
- Type: System.Collections.GenericIComparerTKey
An instance of IComparer<TKey> that will be used to compare keys.
Remarks
The GetHashCode and Equals methods of the provided IComparer<TKey> will never
be called, and need not be implemented.
See Also