TypedSortedListEx
TKey
,
TValue
Constructor (IComparer
TKey
, Int32)
|
Creates an empty SortedList with the specified initial capacity
and 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(
IComparer<TKey> comparer,
int capacity
)
Public Sub New (
comparer As IComparer(Of TKey),
capacity As Integer
)
public:
TypedSortedListEx(
IComparer<TKey>^ comparer,
int capacity
)
new :
comparer : IComparer<'TKey> *
capacity : int -> TypedSortedListEx
Parameters
-
comparer
-
Type:
System.Collections.Generic
IComparer
TKey
Initial capacity.
-
capacity
-
Type:
System
Int32
The IComparer is used to determine whether two keys are equal.
See Also