Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ManagedDictionary Constructor

Initializes a new, empty instance of the Hashtable class using the specified initial capacity, and the default load factor, hash code provider, and comparer.

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

Parameters

capacity
The approximate number of elements that the Hashtable object can initially contain.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException capacity is less than zero.

See Also

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