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

◆ AttributeCount

int System.Xml.XPathNodePointer.AttributeCount
getpackage

Definition at line 313 of file XPathNodePointer.cs.

314 {
315 get
316 {
317 RealFoliate();
318 if (_node != null && _column == null && _node.NodeType == XmlNodeType.Element)
319 {
320 if (!IsFoliated(_node))
321 {
322 return ColumnCount(Row, fAttribute: true);
323 }
324 int num = 0;
325 {
326 foreach (XmlAttribute attribute in _node.Attributes)
327 {
328 if (attribute.NamespaceURI != "http://www.w3.org/2000/xmlns/")
329 {
330 num++;
331 }
332 }
333 return num;
334 }
335 }
336 return 0;
337 }
338 }
int ColumnCount(DataRow row, bool fAttribute)
virtual ? XmlAttributeCollection Attributes
Definition XmlNode.cs:106
XmlNodeType NodeType
Definition XmlNode.cs:73