Returns the attribute at a given index.
[C#] In C#, this member is the indexer for the XmlAttributeCollection class.
[Visual Basic] Overloads Public Default ReadOnly Property Item( _ ByVal index As Integer _ ) As XmlAttribute [C#] public XmlAttribute this[ int index ] {get;} [C++] public: __property XmlAttribute get_Item( int index ); [JScript] returnValue = XmlAttributeCollectionObject.Item(index); -or- returnValue = XmlAttributeCollectionObject(index);
[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed Item property whose type is Object and whose index type is String.
This indexer returns the XmlAttribute stored at the given index. To set the value of an attribute, use one of the indexers that take the name or identifier of the attribute.
XmlAttributeCollection Class | XmlAttributeCollection Members | System.Xml Namespace | XmlAttributeCollection.Item Overload List