System.Xml.XmlNodeList and IXMLDOMNodeList

only for RuBoard

System.Xml.XmlNodeList and IXMLDOMNodeList

XmlNodeList class in the System.Xml namespace is an implementation of the W3C NodeList interface. This class represents an ordered collection of nodes that can be iterated through. The XmlDocument 's ChildNodes property and the GetElementsByTagName method return an XmlNodeList object. Table B.8 and Table B.9 list the properties and methods respectively found in the XmlNodeList class.

Table B.8. System.Xml.XmlNodeList and IXMLDOMNodeList Properties

XmlNodeList (Inherits IEnumerable )

Description

IXMLDOMNodeList

Count

Gets the number of nodes in the XmlNodeList .

length Gets the number of nodes in the IXMLDOMNodeList collection.

ItemOf

Gets a node corresponding to the index specified. In C#, this property is the indexer for the XmlNodeList class.

 
Table B.9. System.Xml.XmlNodeList and IXMLDOMNodeList Methods

XmlNodeList

Description

IXMLDOMNodeList

Item

Gets a node in the collection corresponding to the index specified.

item

GetEnumerator

Enables For Each enumerations on the object.

 
only for RuBoard


XML and ASP. NET
XML and ASP.NET
ISBN: B000H2MXOM
EAN: N/A
Year: 2005
Pages: 184

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net