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

◆ XmlLang

virtual string System.Xml.XmlNode.XmlLang
getpackageinherited

Definition at line 321 of file XmlNode.cs.

322 {
323 get
324 {
325 XmlNode xmlNode = this;
326 XmlElement xmlElement = null;
327 do
328 {
329 if (xmlNode is XmlElement xmlElement2 && xmlElement2.HasAttribute("xml:lang"))
330 {
331 return xmlElement2.GetAttribute("xml:lang");
332 }
333 xmlNode = xmlNode.ParentNode;
334 }
335 while (xmlNode != null);
336 return string.Empty;
337 }
338 }