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

◆ GetAttribute() [3/4]

override string System.Xml.XmlSubtreeReader.GetAttribute ( string name,
string namespaceURI )
inline

Definition at line 282 of file XmlSubtreeReader.cs.

283 {
285 {
286 return null;
287 }
289 if (attribute != null)
290 {
291 return attribute;
292 }
293 for (int i = 0; i < _nsAttrCount; i++)
294 {
295 if (name == _nsAttributes[i].localName && namespaceURI == _xmlnsUri)
296 {
297 return _nsAttributes[i].value;
298 }
299 }
300 return null;
301 }
string? GetAttribute(string name)

References System.Xml.XmlSubtreeReader._nsAttrCount, System.Xml.XmlSubtreeReader._nsAttributes, System.Xml.XmlSubtreeReader._xmlnsUri, System.Xml.Dictionary, System.Xml.XmlReader.GetAttribute(), System.Xml.XmlSubtreeReader.InAttributeActiveState, System.Xml.XmlWrappingReader.reader, and System.Xml.XmlSubtreeReader.NodeData.value.