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

◆ this[string name]

XmlAttribute? System.Xml.XmlAttributeCollection.this[string name]
get

Definition at line 26 of file XmlAttributeCollection.cs.

27 {
28 get
29 {
30 int hashCode = XmlName.GetHashCode(name);
31 for (int i = 0; i < nodes.Count; i++)
32 {
33 XmlAttribute xmlAttribute = (XmlAttribute)nodes[i];
34 if (hashCode == xmlAttribute.LocalNameHash && name == xmlAttribute.Name)
35 {
36 return xmlAttribute;
37 }
38 }
39 return null;
40 }
41 }