ArrayListStatic: Adapter

Adapter

Creates an object that allows any IList object to be treated as an ArrayList instance.



 Public Function Adapter(
	  ByVal list As IList ) As ArrayList

Parameters

list
[ByVal] IList. The list to be wrapped as an ArrayList instance.

Return Values

ArrayList -  A new object that can be used like an ArrayList

Remarks

The adapter gives all IList objects the ability to be used anywhere an ArrayList instance would be used instead.

See Also

Project VBCorLib Overview Class ArrayListStatic Overview ArrayListStatic Properties ArrayListStatic Methods FixedSize