ListViewItem::ListViewSubItemCollection::ICollection::CopyTo Method (Array^, Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Copies the item and collection of subitems into an array.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
virtual void CopyTo(
	Array^ dest,
	int index
) sealed = ICollection::CopyTo

Parameters

dest
Type: System::Array^

An array of ListViewItem::ListViewSubItem.

index
Type: System::Int32

The zero-based index in array at which copying begins.

Exception Condition
ArrayTypeMismatchException

The array type is not compatible with ListViewItem::ListViewSubItem.

.NET Framework
Available since 1.1
Return to top
Show: