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

◆ GetListName()

string ITypedList. System.Data.DataView.GetListName ( PropertyDescriptor[] listAccessors)
inlineprivateinherited

Implements System.ComponentModel.ITypedList.

Definition at line 1052 of file DataView.cs.

1053 {
1054 if (_table != null)
1055 {
1056 if (listAccessors == null || listAccessors.Length == 0)
1057 {
1058 return _table.TableName;
1059 }
1060 DataSet dataSet = _table.DataSet;
1061 if (dataSet != null)
1062 {
1063 DataTable dataTable = dataSet.FindTable(_table, listAccessors, 0);
1064 if (dataTable != null)
1065 {
1066 return dataTable.TableName;
1067 }
1068 }
1069 }
1070 return string.Empty;
1071 }

References System.Data.DataView._table, System.Data.DataTable.DataSet, and System.Data.DataTable.TableName.