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

◆ OnUndeleteRow()

void System.Xml.XmlDataDocument.OnUndeleteRow ( DataRow row,
XmlElement rowElement )
inlineprivate

Definition at line 1799 of file XmlDataDocument.cs.

1800 {
1801 if (rowElement.ParentNode != null)
1802 {
1803 rowElement.ParentNode.RemoveChild(rowElement);
1804 }
1809 {
1811 }
1812 else
1813 {
1814 xmlElement.AppendChild(rowElement);
1815 }
1817 }
DataRow GetNestedParent(DataRow row)
void FixNestedChildren(DataRow row, XmlElement rowElement)
XmlElement EnsureNonRowDocumentElement()
XmlNode GetRowInsertBeforeLocation(DataRow row, XmlElement rowElement, XmlNode parentElement)
XmlElement GetElementFromRow(DataRow r)

References System.Xml.Dictionary, System.Xml.XmlDataDocument.EnsureNonRowDocumentElement(), System.Xml.XmlDataDocument.FixNestedChildren(), System.Xml.XmlDataDocument.GetElementFromRow(), System.Xml.XmlDataDocument.GetNestedParent(), and System.Xml.XmlDataDocument.GetRowInsertBeforeLocation().

Referenced by System.Xml.XmlDataDocument.OnRowChanged().