XmlNamedNodeMap Class
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Represents a collection of nodes that can be accessed by name or index.
Assembly: System.Xml (in System.Xml.dll)
Name | Description | |
---|---|---|
![]() | Count | Gets the number of nodes in the XmlNamedNodeMap. |
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 the default hash function. (Inherited from Object.) |
![]() | GetNamedItem(String) | Retrieves an XmlNode specified by name. |
![]() | GetNamedItem(String, String) | Retrieves a node with the matching LocalName and NamespaceURI. |
![]() | GetType() | |
![]() | Item(Int32) | Retrieves the node at the specified index in the XmlNamedNodeMap. |
![]() | MemberwiseClone() | |
![]() | RemoveNamedItem(String) | Removes the node from the XmlNamedNodeMap. |
![]() | RemoveNamedItem(String, String) | Removes a node with the matching LocalName and NamespaceURI. |
![]() | SetNamedItem(XmlNode) | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. 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.
Available since 10
.NET Framework
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.