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.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
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
- IDictionary<(Of <(<'TKey, TValue>)>)>
The IDictionary to copy.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | When argument d is null. |