Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils.ToArrayList Method

Converts an ICollectioninstance to an ArrayList instance.

[Visual Basic]
Public Shared Sub ToArrayList( _
   ByVal inputCollection As ICollection _
)
[C#]
public static ArrayList ToArrayList(
   ICollection inputCollection
);

Parameters

inputCollection
The ICollection instance to be converted.

Return Value

An ArrayList instance in which its elements are the elements of the ICollection instance.

Exceptions

Exception Type Condition
ArgumentNullException if the inputCollection is null.

See Also

CollectionUtils Class | Spring.Util Namespace