NameObjectCollection(Int32, NameObjectCollection) Constructor

Copies the entries from the specified NameObjectCollection to a new NameObjectCollection with the specified initial capacity or the same initial capacity as the number of entries copied, whichever is greater, and using 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,
	NameObjectCollection col
)

Parameters

capacity  Int32
The initial number of entries that this NameObjectCollection can contain.
col  NameObjectCollection
this NameObjectCollection to copy to the new NameObjectCollection instance.

Exceptions

ArgumentOutOfRangeException capacity is less than zero.
ArgumentNullException col is null.

See Also