Copies the elements of the ArrayList to a new array.
Copies the elements of the ArrayList to a new Object array.
[Visual Basic] Overloads Overridable Public Function ToArray() As Object ()
[C#] public virtual object[] ToArray();
[C++] public: virtual Object* ToArray() [];
[JScript] public function ToArray() : Object[];
Copies the elements of the ArrayList to a new array of the specified type.
[Visual Basic] Overloads Overridable Public Function ToArray(Type) As Array
[C#] public virtual Array ToArray(Type);
[C++] public: virtual Array* ToArray(Type*);
[JScript] public function ToArray(Type) : Array;
ArrayList Class | ArrayList Members | System.Collections Namespace