XmlQueryContext Class

Definition

The context of a query consists of all user-provided information that influences the operation of the query.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class XmlQueryContext sealed
public sealed class XmlQueryContext
type XmlQueryContext = class
Public NotInheritable Class XmlQueryContext
Inheritance
XmlQueryContext

Remarks

The context manages the following information:

  1. Input data sources, including the default data source if one exists.

  2. Extension objects. For more information, see User Defined Functions and Variables.

  3. External parameters.

Properties

DefaultDataSource

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the document that is queried by default if no data source is explicitly selected in the query.

DefaultNameTable

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the name table used by the default data source, or null if there is no default data source.

QueryNameTable

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the XmlNameTable instance.

Methods

Equals(Object)

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

(Inherited from Object)
GetDataSource(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the data source specified by the uriRelative and uriBase from the T:System.Xml.XmlResolver that the user provided.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLateBoundObject(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the extension object that is mapped to the specified namespace, or null if no object is mapped.

GetParameter(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets a named parameter from the external argument list.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
InvokeXsltLateBoundFunction(String, String, IList<XPathItem>[])

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets a late-bound extension object from the external argument list.

LateBoundFunctionExists(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns true if the late-bound object identified by namespaceUri contains a method that matches name.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnXsltMessageEncountered(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Raises an XsltMessageEncountered event.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to