Click or drag to resize

TypedSortedListEx TKey , TValue Constructor (IDictionary TKey , TValue , IComparer TKey )

Copies the elements from the specified dictionary to a new list with the same initial capacity as the number of elements copied and with the specified comparer.

Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public TypedSortedListEx(
	IDictionary<TKey, TValue> d,
	IComparer<TKey> comparer
)

Parameters

d
Type: System.Collections.Generic IDictionary TKey , TValue
The IDictionary to copy.
comparer
Type: System.Collections.Generic IComparer TKey
The IComparer to use to determine whether two keys are equal.
Exceptions
Exception Condition
ArgumentNullException When argument d is null.
See Also