NamedNodeMap Class
Represents collections of attributes that can be accessed by name.
Inheritance Hierarchy

Namespace: Aspose.Html.Collections
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.11
Syntax
public class NamedNodeMap : DOMObject, 
	IEnumerable<Attr>, IEnumerable, IDisposable

The NamedNodeMap type exposes the following members.

Properties
  NameDescription
Public propertyItemInt32
Returns the index-th item in the map. If index is greater than or equal to the number of nodes in this map, this returns null.
Public propertyItemString
Gets the Attr with the specified name.
Public propertyLength
The number of nodes in this map.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNamedItem
Retrieves a node specified by name.
Public methodGetNamedItemNS
Retrieves a node specified by local name and namespace URI.
Public methodGetPlatformType

This method is used to retrieve the ECMAScript object .

(Inherited from DOMObject.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveNamedItem
Removes a node specified by name.
Public methodRemoveNamedItemNS
Removes a node specified by local name and namespace URI.
Public methodSetNamedItem
Adds a node using its nodeName attribute. If a node with that name is already present in this map, it is replaced by the new one. Replacing a node by itself has no effect.
Public methodSetNamedItemNS
Adds a node using its namespaceURI and localName. If a node with that namespace URI and that local name is already present in this map, it is replaced by the new one. Replacing a node by itself has no effect.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also