DataGridItemCollection.CopyTo(Array, Int32) Method
Definition
Copies all the items from this DataGridItemCollection collection to the specified Array, starting at the specified index in the Array.
public:
virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Parameters
- array
- Array
A zero-based Array that receives the copied items from the DataGridItemCollection.
Implements
Remarks
Use this method to copy the contents of the DataGridItemCollection collection into the specified System.Array, starting at the specified index.
Note
The array
parameter must be a zero-based System.Array.