ListBox::SelectedObjectCollection::CopyTo Method (Array^, Int32)
.NET Framework (current version)
Copies the entire collection into an existing array at a specified location within the array.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- destination
-
Type:
System::Array^
An Array representing the array to copy the contents of the collection to.
- index
-
Type:
System::Int32
The location within the destination array to copy the items from the collection to.
Implements
ICollection::CopyTo(Array^, Int32)You can use this method to combine the selected items from multiple collections into a single array.
.NET Framework
Available since 1.1
Available since 1.1
Show: