System.Xml [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 All the dynamic members are not designed to be thread safe. This class cannot be used parallely in multiple thread for XPath evaluation. System.Object

This class is returned as the result of the method of the class. It is a parameter to the , , , and methods of the class.

Provides a typed class that represents a compiled XPath expression.

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Void `` ``

  The method enables users to sort objects by their data type instead of by string or number. The object provides an implementation of the method that supports sorting on user-defined classes.

  In the following example, the books are sorted by ISBN number, where isbn is an object that implements the interface.

  `Dim expression As XPathExpression = navigator.Compile("bookstore/book") Dim isbn As ISBN = New ISBN() expression.AddSort("@ISBN", (IComparer)isbn)` `XPathExpression expression = navigator.Compile("bookstore/book"); ISBN isbn = new ISBN(); expression.AddSort("@ISBN", (IComparer)isbn);`

  The following are important notes to consider when using the method.

  The order in which the sorts are added provides the sort key order.

  If the or the sort key requires namespace resolution, you must use the method to provide an for namespace resolution.

  If the does not include a prefix, it is assumed that the namespace Uniform Resource Identifier (URI) is the empty namespace. If your XML includes a default namespace, you must still use the method and provide an that contains a prefix and namespace URI to handle the default namespace.

  When overridden in a derived class, sorts the nodes selected by the XPath expression according to the specified object.

  An object representing the sort key. This can be the string value of the node or an object with a compiled XPath expression. An object that provides the specific data type comparisons for comparing two objects for equivalence.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Void `` `` `` `` ``

  The order in which the sorts are added provides the sort key order.

  If the or the sort key requires namespace resolution, you must use the method to provide an for namespace resolution.

  If the does not include a prefix, it is assumed that the namespace Uniform Resource Identifier (URI) is the empty namespace. If your XML includes a default namespace, you must still use the method and provide an that contains a prefix and namespace URI to handle the default namespace.

  When overridden in a derived class, sorts the nodes selected by the XPath expression according to the supplied parameters.

  An object representing the sort key. This can be the string value of the node or an object with a compiled XPath expression. An value indicating the sort order. An value indicating how to sort uppercase and lowercase letters. The language to use for comparison. Uses the class that can be passed to the method for the language types, for example, "us-en" for U.S. English. If an empty string is specified, the system environment is used to determine the . An value indicating the sort order for the data type.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Xml.XPath.XPathExpression

  When overridden in a derived class, the method returns a clone of this object with the same state as this object.

  When overridden in a derived class, returns a clone of this .

  A new object.

- Method
  2.0.0.0
  4.0.0.0
  System.Xml.XPath.XPathExpression ``

  An XPath expression is evaluated to yield one of the following result types.

  If a user-defined function with an invalid number of arguments (or an unimplemented user-defined function) is specified in the XPath expression, an exception occurs only at run time. User-defined functions are not checked at compile time and exceptions that result from user-defined functions occur only if execution evaluates the expression.

  Compiles the XPath expression specified and returns an object representing the XPath expression.

  An object.

  An XPath expression.
- Method
  2.0.0.0
  4.0.0.0
  System.Xml.XPath.XPathExpression `` ``

  An XPath expression is evaluated to yield one of the following result types.

  If a user-defined function with an invalid number of arguments (or an unimplemented user-defined function) is specified in the XPath expression, an exception occurs only at run-time. User-defined functions are not checked at compile time and exceptions resulting from user-defined functions occur only if execution evaluates the expression.

  It is not possible to compile a with a custom context in one step by passing an , which implements , as an argument to this method. To use a with a custom context, you must call the method after compiling the expression.

  Compiles the specified XPath expression, with the object specified for namespace resolution, and returns an object that represents the XPath expression.

  An object.

  An XPath expression. An object that implements the interface for namespace resolution.
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.String The string that represents the XPath expression. To be added.

  When overridden in a derived class, gets a string representation of the .

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Xml.XPath.XPathResultType An value that indicates the return type. The return type varies for each XPath expression and it might be . For example, the return type of a variable binding expression (e.g. "$foo") can be anything.

  When overridden in a derived class, gets the result type of the XPath expression.

- Method
  2.0.0.0
  4.0.0.0
  System.Void ``

  Namespace resolution is supported using classes that implement the interface, such as the class. The stores prefix and namespace Uniform Resource Identifier (URI) mappings. If the requires namespace resolution, the prefix and namespace URI pair must be added to an object, such as the class, which implements the interface, and the method must be called to specify the interface object to use for namespace resolution.

  The following are important notes to consider when using the method.

  If the does not include a prefix, it is assumed that the namespace URI is the empty namespace. If your XML includes a default namespace, you must still use the method and provide an object that contains a prefix and namespace URI to handle the default namespace.

  You can also supply an interface object for namespace resolution to the method when you create your object.

  accepts as a namespace resolver, so you can implement a custom context and use functions and variables based on and . The XPath expression will execute them. For more information, see User Defined Functions and Variables.

  When overridden in a derived class, specifies the object to use for namespace resolution.

  An object that implements the interface to use for namespace resolution.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Void ``

  Namespace resolution is supported using the class which stores prefix and namespace Uniform Resource Identifier (URI) mappings. If the requires namespace resolution, the prefix and namespace URI pair must be added to the object and the method must be called to specify the object to use for namespace resolution.

  The following are important notes to consider when using the method.

  If the does not include a prefix, it is assumed that the namespace URI is the empty namespace. If your XML includes a default namespace, you must still use the method and provide an object that contains a prefix and namespace URI to handle the default namespace.

  You can also supply an object for namespace resolution to the method when you create your object.

  accepts as a namespace resolver, so you can implement a custom context and use functions and variables based on and . The XPath expression will execute them. For more information, see User Defined Functions and Variables.

  When overridden in a derived class, specifies the object to use for namespace resolution.

  An object to use for namespace resolution.