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

◆ SkipSubtree()

bool System.Xml.XmlReader.SkipSubtree ( )
inlineprivateinherited

Definition at line 1146 of file XmlReader.cs.

1147 {
1148 MoveToElement();
1149 if (NodeType == XmlNodeType.Element && !IsEmptyElement)
1150 {
1151 int depth = Depth;
1152 while (Read() && depth < Depth)
1153 {
1154 }
1155 if (NodeType == XmlNodeType.EndElement)
1156 {
1157 return Read();
1158 }
1159 return false;
1160 }
1161 return Read();
1162 }
XmlNodeType NodeType
Definition XmlReader.cs:62

References System.Xml.XmlReader.Depth, System.Xml.XmlReader.IsEmptyElement, System.Xml.XmlReader.MoveToElement(), System.Xml.XmlReader.NodeType, and System.Xml.XmlReader.Read().

Referenced by System.Xml.XmlReader.ReadToNextSibling(), System.Xml.XmlReader.ReadToNextSibling(), and System.Xml.XmlReader.Skip().