This documentation is archived and is not being maintained.
XmlQueryContext Class
Visual Studio 2010
This API supports the .NET Framework 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)
The XmlQueryContext type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DefaultDataSource | Infrastructure. Returns the document that is queried by default if no data source is explicitly selected in the query. |
![]() | DefaultNameTable | Infrastructure. Returns the name table used by the default data source, or null if there is no default data source. |
![]() | QueryNameTable | Infrastructure. Gets the XmlNameTable instance. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDataSource | Infrastructure. Gets the data source specified by the uriRelative and uriBase from the T:System.Xml.XmlResolver that the user provided. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetLateBoundObject | Infrastructure. Returns the extension object that is mapped to the specified namespace, or null if no object is mapped. |
![]() | GetParameter | Infrastructure. Gets a named parameter from the external argument list. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InvokeXsltLateBoundFunction | Infrastructure. Gets a late-bound extension object from the external argument list. |
![]() | LateBoundFunctionExists | Infrastructure. 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 | Infrastructure. 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
