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

◆ FindSimpleType()

static XmlElement System.Data.XmlTreeGen.FindSimpleType ( XmlElement schema,
string name )
inlinestaticprivate

Definition at line 1045 of file XmlTreeGen.cs.

1046 {
1047 for (XmlNode xmlNode = schema.FirstChild; xmlNode != null; xmlNode = xmlNode.NextSibling)
1048 {
1049 if (xmlNode is XmlElement)
1050 {
1052 if (xmlElement.GetAttribute("name") == name)
1053 {
1054 return xmlElement;
1055 }
1056 }
1057 }
1058 return null;
1059 }
virtual ? XmlNode FirstChild
Definition XmlNode.cs:120

References System.Xml.Dictionary, and System.Xml.XmlNode.FirstChild.

Referenced by System.Data.XmlTreeGen.HandleColumnType().