Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ManagedList Constructor

Initializes a new instance of the ManagedList class that is empty and has the specified initial capacity.

[Visual Basic]
Public Overloads Sub New( _
   ByVal capacity As Integer _
)
[C#]
ManagedList(
   int capacity
);

Parameters

capacity
The number of elements that the new list can initially store.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException capacity is less than zero.

See Also

ManagedList Class | Spring.Objects.Factory.Support Namespace | ManagedList Constructor Overload List