XmlQueryContext 类
定义
查询的上下文包括影响查询操作的所有用户提供的信息。The context of a query consists of all user-provided information that influences the operation of the query.
此 API 支持产品基础结构,不能在代码中直接使用。
public ref class XmlQueryContext sealed
public sealed class XmlQueryContext
type XmlQueryContext = class
Public NotInheritable Class XmlQueryContext
- 继承
-
XmlQueryContext
注解
上下文管理以下信息:The context manages the following information:
输入数据源,包括默认数据源(如果存在)。Input data sources, including the default data source if one exists.
扩展对象。Extension objects. 有关详细信息,请参阅 用户定义的函数和变量。For more information, see User Defined Functions and Variables.
外部参数。External parameters.
属性
| DefaultDataSource |
此 API 支持产品基础结构,不能在代码中直接使用。 如果未在查询中显式选择任何数据源,则默认情况下将返回查询的文档。Returns the document that is queried by default if no data source is explicitly selected in the query. |
| DefaultNameTable |
此 API 支持产品基础结构,不能在代码中直接使用。 返回默认数据源使用的名称表;如果没有任何默认数据源,则返回 Null。Returns the name table used by the default data source, or null if there is no default data source. |
| QueryNameTable |
此 API 支持产品基础结构,不能在代码中直接使用。 获取 XmlNameTable 实例。Gets the XmlNameTable instance. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetDataSource(String, String) |
此 API 支持产品基础结构,不能在代码中直接使用。 从用户提供的 |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetLateBoundObject(String) |
此 API 支持产品基础结构,不能在代码中直接使用。 返回映射到指定命名空间的扩展对象;如果未映射任何对象,则返回 Null。Returns the extension object that is mapped to the specified namespace, or null if no object is mapped. |
| GetParameter(String, String) |
此 API 支持产品基础结构,不能在代码中直接使用。 从外部参数列表中获取一个命名参数。Gets a named parameter from the external argument list. |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| InvokeXsltLateBoundFunction(String, String, IList<XPathItem>[]) |
此 API 支持产品基础结构,不能在代码中直接使用。 从外部自变量列表中获取一个后期绑定的扩展对象。Gets a late-bound extension object from the external argument list. |
| LateBoundFunctionExists(String, String) |
此 API 支持产品基础结构,不能在代码中直接使用。 如果 |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| OnXsltMessageEncountered(String) |
此 API 支持产品基础结构,不能在代码中直接使用。 引发 XsltMessageEncountered 事件。Raises an XsltMessageEncountered event. |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |