Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RowUpdatedEventArgs.CopyToRows Method (DataRow[], Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Copies references to the modified rows into the provided array.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public void CopyToRows(
	DataRow[] array,
	int arrayIndex


Type: System.Data.DataRow[]

The array of DataRow to copy into.

Type: System.Int32

The index in the array to start copying into.

array must be at least RowCount + arrayIndex in length.

Throws an ArgumentNullException for a null instance of DataRow.

.NET Framework
Available since 2.0
Return to top
© 2018 Microsoft