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.
Namespace: DevCase.Runtime.CollectionsAssembly: 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
)
Public Sub New (
capacity As Integer
)
Dim capacity As Integer
Dim instance As New NameObjectCollection(capacity)
public:
NameObjectCollection(
int capacity
)
new :
capacity : int -> NameObjectCollection
No code example is currently available or this language may not be supported.
Parameters
- capacity Int32
-
The initial number of entries that this NameObjectCollection
can contain.
ArgumentOutOfRangeException
|
capacity is less than zero.
|