System.Xml.XmlNamedNodeMap and IXMLDOMNamedNodeMap

only for RuBoard

System.Xml.XmlNamedNodeMap and IXMLDOMNamedNodeMap

XmlNamedNodeMap class in the System.Xml namespace is an implementation of the W3C NamedNodeMap interface. This class represents a collection of nodes that can be accessed by name or index. Table B.12 and Table B.13 list the properties and methods respectively found in the XmlNamedNodeMap class.

Table B.12. System.Xml.XmlNamedNodeMap and IXMLDOMNamedNodeMap Properties

XmlNamedNodeMap (Implements IEnumerable )

Description

MSXML IXMLDOMNamed NodeMap

Count

Gets the number of nodes in the XmlNamedNodeMap .

length Gets the number of items in the IXMLDOMNamedNodeMap .

Table B.13. System.Xml.XmlNamedNodeMap and IXMLDOMNamedNodeMap Methods

XmlNamedNodeMap (Implements IEnumerable )

Description

MSXML IXMLDOMNamed NodeMap

GetEnumerator

Enables For Each enumerations on the object.

 

GetNamedItem Retrieves the specified XmlNode from the collection of nodes in the XmlNamedNodeMap .

Gets the specified XmlNode from the XmlNamedNodeMap .

getNamedItem Gets the specified attribute from the IXMLDOMNamedNodeMap .

Item

Gets the node at the specified index in the XmlNamedNodeMap .

item Gets the node at the specified index in the IXMLDOMNamedNodeMap .

RemoveNamedItem

Removes the specified node from the XmlNamedNodeMap .

removeNamedItem Removes the specified node from the IXMLDOMNamedNodeMap .

SetNamedItem

Adds the specified XmlNode to the XmlNamedNodeMap .

setNamedItem Adds the specified IXMLDOMNode to the IXMLDOMNamedNodeMap .

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