Click or drag to resize
OrderedDictionaryTKey, TValue Constructor (IEnumerableKeyValuePairTKey, TValue, ComparisonTKey)

Creates a new OrderedDictionary. The passed delegate will be used to compare keys in this dictionary.

A collection and keys and values (typically another dictionary) is used to initialized the contents of the dictionary.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public OrderedDictionary(
	IEnumerable<KeyValuePair<TKey, TValue>> keysAndValues,
	Comparison<TKey> comparison
)

Parameters

keysAndValues
Type: System.Collections.GenericIEnumerableKeyValuePairTKey, TValue
A collection of keys and values whose contents are used to initialized the dictionary.
comparison
Type: SystemComparisonTKey
A delegate to a method that will be used to compare keys.
See Also