Boolean IDataTable.TryInsertRow(Int32 rowIndex, IEnumerable values)

Try to insert the values at the specified row index.

Remarks

For the insertion to succeed, the following requirements MUST be met: is within the range [0, ] is `false`The objects in the enumerable column-wise match or convert to the corresponding column data type In the case of ragged columns, a short column will be grown to accomodate the insertion of a non-null value.

Parameters

  • rowIndex
    Type: Int32
    The row into which the data should be inserted.
  • values
    Type: IEnumerable
    The row-wise values to insert.

Return Value

Type: Boolean
Whether the insertion succeeded.