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

◆ Clear()

void System.Data.DataSet.Clear ( )
inline

Definition at line 951 of file DataSet.cs.

952 {
953 long scopeId = DataCommonEventSource.Log.EnterScope("<ds.DataSet.Clear|API> {0}", ObjectID);
954 try
955 {
958 EnforceConstraints = false;
959 for (int i = 0; i < Tables.Count; i++)
960 {
961 Tables[i].Clear();
962 }
964 }
965 finally
966 {
967 DataCommonEventSource.Log.ExitScope(scopeId);
968 }
969 }
DataTableCollection Tables
Definition DataSet.cs:396
void OnClearFunctionCalled(DataTable table)
Definition DataSet.cs:2607

References System.Data.DataTableCollection.Clear(), System.Data.InternalDataCollectionBase.Count, System.Runtime.Serialization.Dictionary, System.Data.DataSet.EnforceConstraints, System.Data.DataCommonEventSource.Log, System.Data.DataSet.ObjectID, System.Data.DataSet.OnClearFunctionCalled(), and System.Data.DataSet.Tables.

Referenced by System.Data.DataSet.Reset().