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

◆ GetNamespace()

virtual string System.Xml.XPath.XPathNavigator.GetNamespace ( string name)
inlinevirtualinherited

Reimplemented in System.Xml.DataDocumentXPathNavigator, System.Xml.XPath.XmlEmptyNavigator, and System.Xml.DocumentXPathNavigator.

Definition at line 876 of file XPathNavigator.cs.

877 {
878 if (!MoveToNamespace(name))
879 {
880 if (name == "xml")
881 {
882 return "http://www.w3.org/XML/1998/namespace";
883 }
884 if (name == "xmlns")
885 {
886 return "http://www.w3.org/2000/xmlns/";
887 }
888 return string.Empty;
889 }
890 string value = Value;
891 MoveToParent();
892 return value;
893 }
virtual bool MoveToNamespace(string name)

References System.Xml.XPath.XPathNavigator.MoveToNamespace(), System.Xml.XPath.XPathNavigator.MoveToParent(), System.value, and System.Xml.XPath.XPathItem.Value.