Breyta

Deila með


RowUpdatedEventArgs.CopyToRows Method

Definition

Lets you access the rows processed during a batch update operation.

Overloads

CopyToRows(DataRow[])

Copies references to the modified rows into the provided array.

CopyToRows(DataRow[], Int32)

Copies references to the modified rows into the provided array.

Remarks

For more information, see Handling Batch Update-related Events and Errors.

CopyToRows(DataRow[])

Source:
RowUpdatedEventArgs.cs
Source:
RowUpdatedEventArgs.cs
Source:
RowUpdatedEventArgs.cs

Copies references to the modified rows into the provided array.

public:
 void CopyToRows(cli::array <System::Data::DataRow ^> ^ array);
public void CopyToRows (System.Data.DataRow[] array);
member this.CopyToRows : System.Data.DataRow[] -> unit
Public Sub CopyToRows (array As DataRow())

Parameters

array
DataRow[]

The array of DataRow to copy into.

Remarks

array must be at least RowCount in length.

Throws an ArgumentNullException for a null instance of DataRow.

See also

Applies to

CopyToRows(DataRow[], Int32)

Source:
RowUpdatedEventArgs.cs
Source:
RowUpdatedEventArgs.cs
Source:
RowUpdatedEventArgs.cs

Copies references to the modified rows into the provided array.

public:
 void CopyToRows(cli::array <System::Data::DataRow ^> ^ array, int arrayIndex);
public void CopyToRows (System.Data.DataRow[] array, int arrayIndex);
member this.CopyToRows : System.Data.DataRow[] * int -> unit
Public Sub CopyToRows (array As DataRow(), arrayIndex As Integer)

Parameters

array
DataRow[]

The array of DataRow to copy into.

arrayIndex
Int32

The index in the array to start copying into.

Remarks

array must be at least RowCount + arrayIndex in length.

Throws an ArgumentNullException for a null instance of DataRow.

See also

Applies to