Retrieves a node at the given index.
[C#] In C#, this member is the indexer for the XmlNodeList class.
[Visual Basic] Overridable Public Default ReadOnly Property Item( _ ByVal i As Integer _ ) As XmlNode [C#] public XmlNode this[ int i ] {virtual get;} [C++] public: __property virtual XmlNode* get_Item( int i ); [JScript] returnValue = XmlNodeListObject.Item(i); -or- returnValue = XmlNodeListObject(i);
[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.
The XmlNode in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
XmlNodeList Class | XmlNodeList Members | System.NewXml Namespace