Επεξεργασία

Κοινή χρήση μέσω


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

See also