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

◆ RowHasErrors()

static bool System.Data.XmlDataTreeWriter.RowHasErrors ( DataRow row)
inlinestaticpackage

Definition at line 114 of file XmlDataTreeWriter.cs.

115 {
116 int count = row.Table.Columns.Count;
117 if (row.HasErrors && row.RowError.Length > 0)
118 {
119 return true;
120 }
121 for (int i = 0; i < count; i++)
122 {
123 DataColumn column = row.Table.Columns[i];
124 string columnError = row.GetColumnError(column);
125 if (columnError != null && columnError.Length != 0)
126 {
127 return true;
128 }
129 }
130 return false;
131 }

References System.Data.DataTable.Columns, System.count, System.Xml.Dictionary, and System.Data.DataColumn.Table.

Referenced by System.Data.NewDiffgramGen.GenerateRow(), and System.Data.XmlDataTreeWriter.XmlDataRowWriter().