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

◆ RemoveAt()

void System.Data.DataTableCollection.RemoveAt ( int index)
inline

Definition at line 679 of file DataTableCollection.cs.

680 {
681 long scopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTableCollection.RemoveAt|API> {0}, index={1}", ObjectID, index);
682 try
683 {
684 DataTable dataTable = this[index];
685 if (dataTable == null)
686 {
687 throw ExceptionBuilder.TableOutOfRange(index);
688 }
690 }
691 finally
692 {
693 DataCommonEventSource.Log.ExitScope(scopeId);
694 }
695 }

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