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

◆ NodeType

XPathNodeType System.Xml.XPathNodePointer.NodeType
getpackage

Definition at line 37 of file XPathNodePointer.cs.

38 {
39 get
40 {
42 if (_node == null)
43 {
44 return XPathNodeType.All;
45 }
46 if (_column == null)
47 {
48 return ConvertNodeType(_node);
49 }
50 if (_fOnValue)
51 {
52 return XPathNodeType.Text;
53 }
54 if (_column.ColumnMapping == MappingType.Attribute)
55 {
56 if (_column.Namespace == "http://www.w3.org/2000/xmlns/")
57 {
58 return XPathNodeType.Namespace;
59 }
60 return XPathNodeType.Attribute;
61 }
62 return XPathNodeType.Element;
63 }
64 }
virtual MappingType ColumnMapping
XPathNodeType ConvertNodeType(XmlNode node)

Referenced by System.Xml.DataDocumentXPathNavigator.GetAttribute(), System.Xml.DataDocumentXPathNavigator.MoveToAttribute(), System.Xml.DataDocumentXPathNavigator.MoveToFirst(), System.Xml.DataDocumentXPathNavigator.MoveToFirstAttribute(), System.Xml.DataDocumentXPathNavigator.MoveToFirstNamespace(), System.Xml.DataDocumentXPathNavigator.MoveToNamespace(), System.Xml.DataDocumentXPathNavigator.MoveToNext(), System.Xml.DataDocumentXPathNavigator.MoveToNextAttribute(), System.Xml.DataDocumentXPathNavigator.MoveToNextNamespace(), and System.Xml.DataDocumentXPathNavigator.MoveToPrevious().