XmlNamedNodeMap Class

Definition

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

public class XmlNamedNodeMap : System.Collections.IEnumerable
Inheritance
XmlNamedNodeMap
Derived
Implements

Remarks

XmlNamedNodeMap is returned by the following three properties.

Properties

Count

Gets the number of nodes in the XmlNamedNodeMap.

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 XmlNamedNodeMap.

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 XmlNamedNodeMap.

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 XmlNamedNodeMap.

SetNamedItem(XmlNode)

Adds an XmlNode using its Name property.

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.

Applies to

Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

See also