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

◆ IndexOf() [3/4]

int System.Data.DataTableCollection.IndexOf ( string tableName,
string tableNamespace,
bool chekforNull )
inlinepackage

Definition at line 517 of file DataTableCollection.cs.

518 {
519 if (chekforNull)
520 {
521 if (tableName == null)
522 {
523 throw ExceptionBuilder.ArgumentNull("tableName");
524 }
525 if (tableNamespace == null)
526 {
527 throw ExceptionBuilder.ArgumentNull("tableNamespace");
528 }
529 }
531 if (num >= 0)
532 {
533 return num;
534 }
535 return -1;
536 }

References System.Data.ExceptionBuilder.ArgumentNull(), and System.Data.DataTableCollection.InternalIndexOf().