Skip to main content

RemoveDataColumn

Removes a DataColumn from a specified DataTable.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

RemoveDataColumn(DataTable, String)

void RemoveDataColumn(
ref DataTable dataTable,
string columnName
)

dataTable DataTable : The DataTable object from which the column is to be removed.

columnNameString : The name of the column to be removed from the column collection of the DataTable. If this property is set then the ColumnIndex property is ignored.