Xmlsélectionroutenodevaluepart

System.Xml

Overview

Represents a single part of an XML selection route, typically used for navigating and selecting nodes within an XML document using specific XPath or XSLT constructs. This class is fundamental to advanced XML querying and manipulation within the .NET Framework.

The Xmlsélectionroutenodevaluepart class encapsulates the details of a step in a selection path, allowing for granular control over how nodes are identified and processed.

Syntax

public sealed class Xmlsélectionroutenodevaluepart

Members

Properties

The Xmlsélectionroutenodevaluepart class exposes properties that define the characteristics of a node selection part.

Name Description
Name Gets the name of the node part. This can be a node name, a wildcard, or a specific axis name.
NamespaceUri Gets the namespace Uniform Resource Identifier (URI) associated with the node part.
Value Gets the literal value or expression associated with this part of the selection route, if applicable.
NodeType Gets the type of node being selected (e.g., element, attribute, text).

Methods

While primarily a data structure, this class might have associated methods for internal processing or querying.

Name Description
Equals Determines whether two Xmlsélectionroutenodevaluepart objects are equal.
GetHashCode Returns the hash code for this instance.

Example

The following C# code demonstrates how Xmlsélectionroutenodevaluepart might be used internally or in advanced scenarios to represent a part of an XPath expression.

// This is a conceptual example. Direct instantiation might not be public.
var elementPart = new Xmlsélectionroutenodevaluepart(
    "book",
    "http://example.com/ns",
    null,
    XmlNodeType.Element
);

var attributePart = new Xmlsélectionroutenodevaluepart(
    "title",
    null,
    "@lang",
    XmlNodeType.Attribute
);

Requirements

Namespace: System.Xml
Assembly: System.Xml.dll