XmlNamedNodeMap Class
Represents a collection of nodes that can be accessed by name or index.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
The XmlNamedNodeMap type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetEnumerator | Provides support for the "foreach" style iteration over the collection of nodes in the XmlNamedNodeMap. |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetNamedItem(String) | Retrieves an XmlNode specified by name. |
![]() ![]() | GetNamedItem(String, String) | Retrieves a node with the matching LocalName and NamespaceURI. |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Item | Retrieves the node at the specified index in the XmlNamedNodeMap. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | RemoveNamedItem(String) | Removes the node from the XmlNamedNodeMap. |
![]() ![]() | RemoveNamedItem(String, String) | Removes a node with the matching LocalName and NamespaceURI. |
![]() ![]() | SetNamedItem | Adds an XmlNode using its Name property. |
![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() ![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() ![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
XmlNamedNodeMap is returned by the following three properties.
XmlElement.Attributes - Returns XmlAttributeCollection, a class which inherits from XmlNamedNodeMap.
XmlDocumentType.Entities - Returns an XmlNamedNodeMap containing XmlEntity objects. The XmlNamedNodeMap is read-only.
XmlDocumentType.Notations - Returns an XmlNamedNodeMap containing XmlNotation objects. The XmlNamedNodeMap is read-only.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
