OrderedDictionary Constructor (Int32)
.NET Framework (current version)
Initializes a new instance of the OrderedDictionary class using the specified initial capacity.
Assembly: System (in System.dll)
Parameters
- capacity
-
Type:
System.Int32
The initial number of elements that the OrderedDictionary collection can contain.
The comparer determines whether two keys are equal. Every key in a OrderedDictionary collection must be unique. The default comparer is the key's implementation of Object.Equals.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: