| 
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
Syntax
 
 
public TypedSortedListEx(
	IDictionary<TKey, TValue> d,
	IComparer<TKey> comparer
)
 
Public Sub New ( 
	d As IDictionary(Of TKey, TValue),
	comparer As IComparer(Of TKey)
)
 
public:
TypedSortedListEx(
	IDictionary<TKey, TValue>^ d, 
	IComparer<TKey>^ comparer
)
 
new : 
d : IDictionary<'TKey, 'TValue> * 
comparer : IComparer<'TKey> -> TypedSortedListEx
 
 
 
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
Exceptions
 
 
| Exception | Condition | 
| ArgumentNullException | When argument d is null. | 
 
 
 See Also
See Also