- i
- A int specifying the zero-based index of the attribute relative to the containing element.
A string containing the value of the attribute.
Type Reason ArgumentOutOfRangeException i is less than 0 or greater than or equal to the XmlTextReader.AttributeCount of the containing element. Note: XmlTextReader.AttributeCount returns zero for all node types except Attribute, DocumentType, Element, and XmlDeclaration. Therefore, this exception is thrown if the reader is not positioned on one of these node types.
This property is read-only.
This property does not move the reader.
This property overrides the System.Xml.XmlReader indexer.