OrderedDictionary Constructor (Int32)

 

Initializes a new instance of the OrderedDictionary class using the specified initial capacity.

Namespace:   System.Collections.Specialized
Assembly:  System (in System.dll)

public:
OrderedDictionary(
	int capacity
)

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
Return to top
Show: