DataTable<'Value> Type

Represents a DataTable containing rows of DataTableRow.

Record fields

Record Field Description

Rows

Full Usage: Rows

Field type: DynamicLengthArray<DataTableRow<'Value>>
Field type: DynamicLengthArray<DataTableRow<'Value>>

Constructors

Constructor Description

DataTable(rowsArray)

Full Usage: DataTable(rowsArray)

Parameters:
Returns: DataTable<'Value>
rowsArray : DataTableRow<'Value> array
Returns: DataTable<'Value>

DataTable(rowsDynamicLengthArray)

Full Usage: DataTable(rowsDynamicLengthArray)

Parameters:
Returns: DataTable<'Value>
rowsDynamicLengthArray : DynamicLengthArray<DataTableRow<'Value>>
Returns: DataTable<'Value>

Instance members

Instance member Description

this.Delete

Full Usage: this.Delete

Parameters:
    index : int

Deletes the DataTableRow at the specified index.

index : int

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool

Checks if the DataTable is empty.

Returns: bool

this[i]

Full Usage: this[i]

Parameters:
    i : int

Returns: DataTableRow<'Value>

Gets the DataTableRow at the specified index.

i : int
Returns: DataTableRow<'Value>

this.Length

Full Usage: this.Length

Returns: int

Gets the length of the DataTable.

Returns: int

this.Restore

Full Usage: this.Restore

Restores the DataTable and its rows to their original lengths.