XmlNamedNodeMap Class   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of nodes that can be accessed by name or index.
public ref class XmlNamedNodeMap : System::Collections::IEnumerablepublic class XmlNamedNodeMap : System.Collections.IEnumerabletype XmlNamedNodeMap = class
    interface IEnumerablePublic Class XmlNamedNodeMap
Implements IEnumerable- Inheritance
- 
				XmlNamedNodeMap
- Derived
- Implements
Remarks
XmlNamedNodeMap is returned by the following three properties.
- XmlElement.Attributes - Returns XmlAttributeCollection, a class which inherits from - XmlNamedNodeMap.
- XmlDocumentType.Entities - Returns an - XmlNamedNodeMapcontaining XmlEntity objects. The- XmlNamedNodeMapis read-only.
- XmlDocumentType.Notations - Returns an - XmlNamedNodeMapcontaining XmlNotation objects. The- XmlNamedNodeMapis read-only.
Properties
| Count | Gets the number of nodes in the  | 
Methods
| Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object) | 
| GetEnumerator() | Provides support for the "foreach" style iteration over the collection of nodes in the  | 
| GetHashCode() | Serves as the default hash function.(Inherited from Object) | 
| GetNamedItem(String, String) | Retrieves a node with the matching LocalName and NamespaceURI. | 
| GetNamedItem(String) | Retrieves an XmlNode specified by name. | 
| GetType() | Gets the Type of the current instance.(Inherited from Object) | 
| Item(Int32) | Retrieves the node at the specified index in the  | 
| MemberwiseClone() | Creates a shallow copy of the current Object.(Inherited from Object) | 
| RemoveNamedItem(String, String) | Removes a node with the matching LocalName and NamespaceURI. | 
| RemoveNamedItem(String) | Removes the node from the  | 
| SetNamedItem(XmlNode) | |
| ToString() | Returns a string that represents the current object.(Inherited from Object) | 
Extension Methods
| Cast<TResult>(IEnumerable) | Casts the elements of an IEnumerable to the specified type. | 
| OfType<TResult>(IEnumerable) | Filters the elements of an IEnumerable based on a specified type. | 
| AsParallel(IEnumerable) | Enables parallelization of a query. | 
| AsQueryable(IEnumerable) | Converts an IEnumerable to an IQueryable. |