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

◆ MoveToFirst()

bool System.Xml.XPathNodePointer.MoveToFirst ( )
inlinepackage

Definition at line 829 of file XPathNodePointer.cs.

830 {
831 RealFoliate();
832 if (_node != null)
833 {
834 DataRow dataRow = null;
835 XmlNode xmlNode = null;
836 if (_column != null)
837 {
838 dataRow = Row;
839 xmlNode = _node;
840 }
841 else
842 {
844 if (xmlNode == null)
845 {
846 return false;
847 }
848 if (!IsFoliated(xmlNode) && xmlNode is XmlBoundElement)
849 {
850 dataRow = ((XmlBoundElement)xmlNode).Row;
851 }
852 }
853 if (dataRow != null)
854 {
856 {
858 {
860 return true;
861 }
862 }
863 }
865 {
867 {
869 return true;
870 }
871 }
872 }
873 return false;
874 }
DataColumn NextColumn(DataRow row, DataColumn col, bool fAttribute)
readonly XmlDataDocument _doc
bool IsValidChild(XmlNode parent, XmlNode child)
bool MoveTo(XPathNodePointer pointer)
XmlNode SafeFirstChild(XmlNode n)
XmlNode SafeNextSibling(XmlNode n)
bool IsTextOnly(DataColumn c)
virtual ? XmlNode ParentNode
Definition XmlNode.cs:76

References System.Xml.XmlNode.ParentNode.

Referenced by System.Xml.DataDocumentXPathNavigator.MoveToFirst().