XmlNamedNodeMap XmlNamedNodeMap XmlNamedNodeMap XmlNamedNodeMap Class

Definition

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

public ref class XmlNamedNodeMap : System::Collections::IEnumerable
public class XmlNamedNodeMap : System.Collections.IEnumerable
type XmlNamedNodeMap = class
    interface IEnumerable
Public Class XmlNamedNodeMap
Implements IEnumerable
Inheritance
XmlNamedNodeMapXmlNamedNodeMapXmlNamedNodeMapXmlNamedNodeMap
Derived
Implements

Remarks

XmlNamedNodeMap is returned by the following three properties.

Properties

Count Count Count Count

Gets the number of nodes in the XmlNamedNodeMap.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Provides support for the "foreach" style iteration over the collection of nodes in the XmlNamedNodeMap.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetNamedItem(String) GetNamedItem(String) GetNamedItem(String) GetNamedItem(String)

Retrieves an XmlNode specified by name.

GetNamedItem(String, String) GetNamedItem(String, String) GetNamedItem(String, String) GetNamedItem(String, String)

Retrieves a node with the matching LocalName and NamespaceURI.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Item(Int32) Item(Int32) Item(Int32) Item(Int32)

Retrieves the node at the specified index in the XmlNamedNodeMap.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveNamedItem(String) RemoveNamedItem(String) RemoveNamedItem(String) RemoveNamedItem(String)

Removes the node from the XmlNamedNodeMap.

RemoveNamedItem(String, String) RemoveNamedItem(String, String) RemoveNamedItem(String, String) RemoveNamedItem(String, String)

Removes a node with the matching LocalName and NamespaceURI.

SetNamedItem(XmlNode) SetNamedItem(XmlNode) SetNamedItem(XmlNode) SetNamedItem(XmlNode)

Adds an XmlNode using its Name property.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See Also