OrderedDictionaryTKey, TValueEnsureCapacity Method
Resizes the internal data structure if necessary to ensure no additional resizing to support the specified capacity.
Namespace: Gemstone.CollectionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public int EnsureCapacity(
int capacity
)
Public Function EnsureCapacity (
capacity As Integer
) As Integer
public:
int EnsureCapacity(
int capacity
)
function EnsureCapacity(capacity);
- capacity Int32
- The number of elements that the OrderedDictionaryTKey, TValue must be able to contain.
Int32The capacity of the
OrderedDictionaryTKey, TValue.
ArgumentOutOfRangeException | capacity is less than 0. |