ICollection: CopyTo

CopyTo

Copies the contents of the collection to an array.



 Public Sub CopyTo(
	  ByRef Arr As Variant,
	  ByVal Index As Long )

Parameters

Arr
[ByRef] Variant. The array to copy the elements into.
Index
[ByVal] Long. The index in the destination array to start copying the elements to.

Remarks

See Also

Project VBCorLib Overview Class ICollection Overview ICollection Properties ICollection Methods Count (get)