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

◆ CompareRecordToKey()

int System.Data.Index.CompareRecordToKey ( int record1,
object[] vals )
inlineprivate

Definition at line 324 of file Index.cs.

325 {
326 for (int i = 0; i < _indexFields.Length; i++)
327 {
329 if (num != 0)
330 {
331 if (!_indexFields[i].IsDescending)
332 {
333 return num;
334 }
335 return -num;
336 }
337 }
338 return 0;
339 }
bool CompareValueTo(int record1, object value, bool checkType)
readonly IndexField[] _indexFields
Definition Index.cs:34
readonly DataColumn Column
Definition IndexField.cs:7

References System.Data.Index._indexFields, System.Data.IndexField.Column, and System.Data.DataColumn.CompareValueTo().

Referenced by System.Data.Index.FindNodeByKeys().