Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft