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

◆ GetAttribute() [3/4]

override string System.Xml.XmlSqlBinaryReader.GetAttribute ( string name,
string ns )
inline

Definition at line 663 of file XmlSqlBinaryReader.cs.

664 {
665 if (ScanState.XmlText == _state)
666 {
667 return _textXmlReader.GetAttribute(name, ns);
668 }
669 if (name == null)
670 {
671 throw new ArgumentNullException("name");
672 }
673 if (ns == null)
674 {
675 ns = string.Empty;
676 }
677 int num = LocateAttribute(name, ns);
678 if (-1 == num)
679 {
680 return null;
681 }
682 return GetAttribute(num);
683 }
string? GetAttribute(string name)
int LocateAttribute(string name, string ns)
override string GetAttribute(string name, string ns)

References System.Xml.XmlSqlBinaryReader._state, System.Xml.XmlSqlBinaryReader._textXmlReader, System.Xml.XmlReader.GetAttribute(), System.Xml.XmlSqlBinaryReader.GetAttribute(), and System.Xml.XmlSqlBinaryReader.LocateAttribute().

Referenced by System.Xml.XmlSqlBinaryReader.GetAttribute(), and System.Xml.XmlSqlBinaryReader.GetAttribute().