Table of Contents

Interface INamedNodeMap

Namespace
SharpVectors.Dom
Assembly
SharpVectors.Core.dll

Represents a collection of nodes that can be accessed by name or index.

Objects implementing the INamedNodeMap interface are used to represent collections of nodes that can be accessed by name.

public interface INamedNodeMap : IEnumerable
Inherited Members

Remarks

Note that INamedNodeMap does not inherit from INodeList; INamedNodeMaps are not maintained in any particular order. Objects contained in an object implementing INamedNodeMap may also be accessed by an ordinal index, but this is simply to allow convenient enumeration of the contents of a INamedNodeMap, and does not imply that the DOM specifies an order to these Nodes.

INamedNodeMap objects in the DOM are live.

Properties

Count

Gets the number of nodes in the INamedNodeMap.

Methods

GetNamedItem(string)

Retrieves an XmlNode specified by name.

GetNamedItem(string, string)

Retrieves a node with the matching LocalName and NamespaceURI.

Item(int)

Retrieves the node at the specified index in the INamedNodeMap.

RemoveNamedItem(string)

Removes the node from the INamedNodeMap.

RemoveNamedItem(string, string)

Removes a node with the matching LocalName and NamespaceURI.

SetNamedItem(XmlNode)

Adds an XmlNode using its Name property

See Also