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

◆ Remove() [2/3]

void System.Data.DataTableCollection.Remove ( string name)
inline

Definition at line 697 of file DataTableCollection.cs.

698 {
699 long scopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTableCollection.Remove|API> {0}, name='{1}'", ObjectID, name);
700 try
701 {
702 DataTable dataTable = this[name];
703 if (dataTable == null)
704 {
705 throw ExceptionBuilder.TableNotInTheDataSet(name);
706 }
708 }
709 finally
710 {
711 DataCommonEventSource.Log.ExitScope(scopeId);
712 }
713 }

References System.Data.DataCommonEventSource.Log, System.Data.DataTableCollection.ObjectID, System.ComponentModel.Remove, and System.Data.ExceptionBuilder.TableNotInTheDataSet().