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

◆ WriteTo()

override void System.Xml.XmlElement.WriteTo ( XmlWriter w)
inline

Definition at line 425 of file XmlElement.cs.

426 {
427 if (GetType() == typeof(XmlElement))
428 {
429 WriteElementTo(w, this);
430 return;
431 }
433 if (IsEmpty)
434 {
435 w.WriteEndElement();
436 return;
437 }
439 w.WriteFullEndElement();
440 }
static void WriteElementTo(XmlWriter writer, XmlElement el)
XmlElement(XmlName name, bool empty, XmlDocument doc)
override void WriteContentTo(XmlWriter w)
void WriteStartElement(XmlWriter w)

References System.Xml.Dictionary, System.Xml.XmlElement.IsEmpty, System.Xml.XmlElement.WriteContentTo(), System.Xml.XmlElement.WriteElementTo(), and System.Xml.XmlElement.WriteStartElement().