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

◆ GetRow()

DataRow System.Data.DataView.GetRow ( int index)
inlinepackageinherited

Definition at line 1113 of file DataView.cs.

1114 {
1115 int count = Count;
1116 if ((uint)count <= (uint)index)
1117 {
1118 throw ExceptionBuilder.GetElementIndex(index);
1119 }
1120 if (index == count - 1 && _addNewRow != null)
1121 {
1122 return _addNewRow;
1123 }
1125 }
readonly RecordManager _recordManager
Definition DataTable.cs:74
int GetRecord(int recordIndex)
Definition DataView.cs:1100

References System.Data.DataView._addNewRow, System.Data.DataTable._recordManager, System.Data.DataView._table, System.Data.DataView.Count, System.count, System.Data.ExceptionBuilder.GetElementIndex(), System.Data.DataView.GetRecord(), and System.index.

Referenced by System.Data.DataView.Delete(), and System.Data.DataView.OnListChanged().