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

◆ this[string? name, string tableNamespace]

DataTable? System.Data.DataTableCollection.this[string? name, string tableNamespace]
get

Definition at line 71 of file DataTableCollection.cs.

72 {
73 get
74 {
75 if (tableNamespace == null)
76 {
77 throw ExceptionBuilder.ArgumentNull("tableNamespace");
78 }
79 int num = InternalIndexOf(name, tableNamespace);
80 if (num == -2)
81 {
82 throw ExceptionBuilder.CaseInsensitiveNameConflict(name);
83 }
84 if (num >= 0)
85 {
86 return (DataTable)_list[num];
87 }
88 return null;
89 }
90 }