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

◆ InsertElementBefore()

virtual void System.Xml.XPath.XPathNavigator.InsertElementBefore ( string prefix,
string localName,
string namespaceURI,
string value )
inlinevirtualinherited

Definition at line 1625 of file XPathNavigator.cs.

1626 {
1627 XmlWriter xmlWriter = InsertBefore();
1628 xmlWriter.WriteStartElement(prefix, localName, namespaceURI);
1629 if (value != null)
1630 {
1631 xmlWriter.WriteString(value);
1632 }
1633 xmlWriter.WriteEndElement();
1634 xmlWriter.Close();
1635 }

References System.Xml.XPath.XPathNavigator.InsertBefore(), System.prefix, and System.value.