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

◆ ResetInternalIndexes()

void System.Data.DataTable.ResetInternalIndexes ( DataColumn column)
inlinepackageinherited

Definition at line 3639 of file DataTable.cs.

3640 {
3642 try
3643 {
3645 for (int i = 0; i < count; i++)
3646 {
3648 if (0 >= index.RefCount)
3649 {
3650 continue;
3651 }
3652 if (column == null)
3653 {
3654 index.Reset();
3655 continue;
3656 }
3657 bool flag = false;
3658 IndexField[] indexFields = index._indexFields;
3659 for (int j = 0; j < indexFields.Length; j++)
3660 {
3661 IndexField indexField = indexFields[j];
3662 if (column == indexField.Column)
3663 {
3664 flag = true;
3665 break;
3666 }
3667 }
3668 if (flag)
3669 {
3670 index.Reset();
3671 }
3672 }
3673 }
3674 finally
3675 {
3677 }
3678 }
List< Index > _shadowIndexes
Definition DataTable.cs:78

References System.Data.DataTable._shadowIndexes, System.count, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Runtime.Serialization.Dictionary, System.index, System.Data.DataTable.RestoreShadowIndexes(), and System.Data.DataTable.SetShadowIndexes().

Referenced by System.Data.DataTable.ResetIndexes().