OrderedDictionaryTKey, TValue(Int32) Constructor
Initializes a new instance of the
OrderedDictionaryTKey, TValue class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.
Namespace: Gemstone.CollectionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public OrderedDictionary(
int capacity
)
Public Sub New (
capacity As Integer
)
public:
OrderedDictionary(
int capacity
)
Gemstone.Collections.OrderedDictionary = function(capacity);
Parameters
- capacity Int32
- The initial number of elements that the OrderedDictionaryTKey, TValue can contain.
ArgumentOutOfRangeException | capacity is less than 0. |