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

◆ PrependChild() [1/4]

override XmlWriter System.Xml.DocumentXPathNavigator.PrependChild ( )
inlinevirtual

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 1336 of file DocumentXPathNavigator.cs.

1337 {
1338 XmlNodeType nodeType = _source.NodeType;
1339 if (nodeType != XmlNodeType.Element && nodeType != XmlNodeType.Document && nodeType != XmlNodeType.DocumentFragment)
1340 {
1342 }
1343 DocumentXmlWriter documentXmlWriter = new DocumentXmlWriter(DocumentXmlWriterType.PrependChild, _source, _document);
1345 return new XmlWellFormedWriter(documentXmlWriter, documentXmlWriter.Settings);
1346 }
static string Xpn_BadPosition
Definition SR.cs:1316
Definition SR.cs:7
static XmlNamespaceManager GetNamespaceManager(XmlNode node, XmlDocument document)
XmlNodeType NodeType
Definition XmlNode.cs:73

References System.Xml.DocumentXPathNavigator._document, System.Xml.DocumentXPathNavigator._source, System.Xml.Dictionary, System.Xml.DocumentXPathNavigator.GetNamespaceManager(), System.Xml.XmlNode.NodeType, and System.SR.Xpn_BadPosition.