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

◆ IsEmpty

bool System.Xml.XmlElement.IsEmpty
getset

Definition at line 53 of file XmlElement.cs.

54 {
55 get
56 {
57 return _lastChild == this;
58 }
59 set
60 {
61 if (value)
62 {
63 if (_lastChild != this)
64 {
66 _lastChild = this;
67 }
68 }
69 else if (_lastChild == this)
70 {
71 _lastChild = null;
72 }
73 }
74 }
XmlLinkedNode _lastChild
Definition XmlElement.cs:13

Referenced by System.Xml.XmlElement.CloneNode(), and System.Xml.XmlElement.WriteTo().