DataTableCopyOrReplaceOrAdd Method |
Copies data to the data column with the provided index if both columns are of the same type. If they are not of the same type, the column is replaced by the provided column. If the index is beyoind the limit, the provided column is added.
Namespace: Altaxo.DataAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public virtual void CopyOrReplaceOrAdd(
int idx,
DataColumn datac,
string name
)
Parameters
- idx Int32
- The index of the column where to copy to, or replace.
- datac DataColumn
- The column to copy.
- name String
- The name of the column in the case the column is added or replaced.
See Also