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

◆ GetItemProperties()

PropertyDescriptorCollection ITypedList. System.Data.DataView.GetItemProperties ( PropertyDescriptor[] listAccessors)
inlineprivateinherited

Implements System.ComponentModel.ITypedList.

Definition at line 1073 of file DataView.cs.

1074 {
1075 if (_table != null)
1076 {
1077 if (listAccessors == null || listAccessors.Length == 0)
1078 {
1080 }
1081 DataSet dataSet = _table.DataSet;
1082 if (dataSet == null)
1083 {
1084 return new PropertyDescriptorCollection(null);
1085 }
1086 DataTable dataTable = dataSet.FindTable(_table, listAccessors, 0);
1087 if (dataTable != null)
1088 {
1089 return dataTable.GetPropertyDescriptorCollection(null);
1090 }
1091 }
1092 return new PropertyDescriptorCollection(null);
1093 }
PropertyDescriptorCollection GetPropertyDescriptorCollection(Attribute[] attributes)

References System.Data.DataView._table, System.Data.DataTable.DataSet, and System.Data.DataTable.GetPropertyDescriptorCollection().