NameObjectCollection(Int32) Constructor

Initializes a new instance of the NameObjectCollection class that is empty, has the specified initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer.

Definition

Namespace: DevCase.Runtime.Collections
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public NameObjectCollection(
	int capacity
)

Parameters

capacity  Int32
The initial number of entries that this NameObjectCollection can contain.

Exceptions

ArgumentOutOfRangeException capacity is less than zero.

See Also