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

◆ Remove() [1/3]

void System.Data.Common.DataTableMappingCollection.Remove ( DataTableMapping value)
inline

Definition at line 334 of file DataTableMappingCollection.cs.

335 {
336 if (value == null)
337 {
338 throw ADP.TablesAddNullAttempt("value");
339 }
340 int num = IndexOf(value);
341 if (-1 != num)
342 {
343 RemoveIndex(num);
344 return;
345 }
346 throw ADP.CollectionRemoveInvalidObject(ItemType, this);
347 }

References System.Data.Common.ADP.CollectionRemoveInvalidObject(), System.Data.Common.DataTableMappingCollection.IndexOf(), System.Data.Common.DataTableMappingCollection.RemoveIndex(), System.Data.Common.ADP.TablesAddNullAttempt(), and System.value.