Click or drag to resize

OrderedDictionary<TKey, TValue> (Int32) Constructor

Initializes a new instance of the OrderedDictionary<TKey, TValue> class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.239-beta+5928cebde0dd955df84e791f5ea67acbd192773e
Syntax
public OrderedDictionary(
	int capacity
)
View Source

Parameters

capacity  Int32
The initial number of elements that the OrderedDictionary<TKey, TValue> can contain.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptioncapacity is less than 0.
See Also