Retrieves the first child element with the specified LocalName and NamespaceURI.
[C#] In C#, this member is the indexer for the XmlNode class.
[Visual Basic] Overloads Overridable Public Default ReadOnly Property Item( _ ByVal localname As String, _ ByVal ns As String _ ) As XmlElement [C#] public XmlElement this[ string localname, string ns ] {virtual get;} [C++] public: __property virtual XmlElement* get_Item( String* localname, String* ns ); [JScript] returnValue = XmlNodeObject.Item(localname, ns); -or- returnValue = XmlNodeObject(localname, ns);
[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 first XmlElement that matches the specified LocalName and NamespaceURI.
XmlNode Class | XmlNode Members | System.NewXml Namespace | XmlNode.Item Overload List