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

◆ XmlElement() [1/2]

System.Xml.XmlElement.XmlElement ( XmlName name,
bool empty,
XmlDocument doc )
inlinepackage

Definition at line 173 of file XmlElement.cs.

174 : base(doc)
175 {
176 parentNode = null;
177 if (!doc.IsLoading)
178 {
179 XmlDocument.CheckName(name.Prefix);
180 XmlDocument.CheckName(name.LocalName);
181 }
182 if (name.LocalName.Length == 0)
183 {
185 }
186 _name = name;
187 if (empty)
188 {
189 _lastChild = this;
190 }
191 }
static string Xdom_Empty_LocalName
Definition SR.cs:1300
Definition SR.cs:7
XmlLinkedNode _lastChild
Definition XmlElement.cs:13
XmlNode parentNode
Definition XmlNode.cs:57

References System.Xml.XmlElement._lastChild, System.Xml.XmlElement._name, System.Xml.ArgumentException, System.Xml.XmlDocument.CheckName(), System.Xml.Dictionary, System.Xml.XmlNode.parentNode, and System.SR.Xdom_Empty_LocalName.