Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Clone() [2/2]

DataTable System.Data.DataTable.Clone ( DataSet cloneDS)
inlinepackageinherited

Definition at line 2245 of file DataTable.cs.

2246 {
2247 long scopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTable.Clone|INFO> {0}, cloneDS={1}", ObjectID, cloneDS?.ObjectID ?? 0);
2248 try
2249 {
2251 if (dataTable.Columns.Count > 0)
2252 {
2253 dataTable.Reset();
2254 }
2256 }
2257 finally
2258 {
2259 DataCommonEventSource.Log.ExitScope(scopeId);
2260 }
2261 }
DataTable CloneTo(DataTable clone, DataSet cloneDS, bool skipExpressionColumns)
virtual DataTable CreateInstance()

References System.Data.DataTable.CloneTo(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Data.DataTable.CreateInstance(), System.Data.DataCommonEventSource.Log, and System.Data.DataTable.ObjectID.