Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlQueryContext Class

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.

System.Object
  System.Xml.Xsl.Runtime.XmlQueryContext

Namespace:  System.Xml.Xsl.Runtime
Assembly:  System.Data.SqlXml (in System.Data.SqlXml.dll)
public sealed class XmlQueryContext

The XmlQueryContext type exposes the following members.

  NameDescription
Public propertyDefaultDataSourceInfrastructure. Returns the document that is queried by default if no data source is explicitly selected in the query.
Public propertyDefaultNameTableInfrastructure. Returns the name table used by the default data source, or null if there is no default data source.
Public propertyQueryNameTableInfrastructure. Gets the XmlNameTable instance.
Top
  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetDataSourceInfrastructure. Gets the data source specified by the uriRelative and uriBase from the T:System.Xml.XmlResolver that the user provided.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLateBoundObjectInfrastructure. Returns the extension object that is mapped to the specified namespace, or null if no object is mapped.
Public methodGetParameterInfrastructure. Gets a named parameter from the external argument list.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvokeXsltLateBoundFunctionInfrastructure. Gets a late-bound extension object from the external argument list.
Public methodLateBoundFunctionExistsInfrastructure. Returns true if the late-bound object identified by namespaceUri contains a method that matches name.
Public methodOnXsltMessageEncounteredInfrastructure. Raises an XsltMessageEncountered event.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.