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

◆ IndexOf()

int System.Data.DataRowCollection.IndexOf ( DataRow? row)
inline

Definition at line 95 of file DataRowCollection.cs.

96 {
97 if (row != null && row.Table == _table && (row.RBTreeNodeId != 0 || row.RowState != DataRowState.Detached))
98 {
99 return _list.IndexOf(row.RBTreeNodeId, row);
100 }
101 return -1;
102 }
int IndexOf(int nodeId, K item)
Definition RBTree.cs:1237

References System.Data.DataRowCollection._list, System.Data.DataRowCollection._table, System.Data.RBTree< K >.IndexOf(), System.Data.DataRow.RBTreeNodeId, System.Data.DataRow.RowState, and System.Data.DataRow.Table.

Referenced by System.Data.Index.CompareRecords(), and System.Data.Index.InsertRecord().