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

◆ FindTable()

DataTable System.Data.DataSet.FindTable ( DataTable baseTable,
PropertyDescriptor[] props,
int propStart )
inlinepackage

Definition at line 2802 of file DataSet.cs.

2803 {
2804 if (props.Length < propStart + 1)
2805 {
2806 return baseTable;
2807 }
2809 if (baseTable == null)
2810 {
2811 if (propertyDescriptor is DataTablePropertyDescriptor)
2812 {
2813 return FindTable(((DataTablePropertyDescriptor)propertyDescriptor).Table, props, propStart + 1);
2814 }
2815 return null;
2816 }
2817 if (propertyDescriptor is DataRelationPropertyDescriptor)
2818 {
2819 return FindTable(((DataRelationPropertyDescriptor)propertyDescriptor).Relation.ChildTable, props, propStart + 1);
2820 }
2821 return null;
2822 }
DataTable FindTable(DataTable baseTable, PropertyDescriptor[] props, int propStart)
Definition DataSet.cs:2802

References System.Runtime.Serialization.Dictionary, and System.Data.DataSet.FindTable().

Referenced by System.Data.DataSet.FindTable().