XmlQueryContext Class
This API supports the product infrastructure and is not intended to be used directly from your code.
The context of a query consists of all user-provided information that influences the operation of the query.
Assembly: System.Data.SqlXml (in System.Data.SqlXml.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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() | |
![]() | InvokeXsltLateBoundFunction(String^, String^, array<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. |
![]() | 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.) |
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.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

