Επεξεργασία

Κοινή χρήση μέσω


XmlQueryRuntime Class

Definition

Provides methods and properties to support the XSLT processor.

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

Properties

ExternalContext

Returns the object that manages external user context information, such as data sources, parameters, extension objects, and so on.

NameTable

Returns the name table used to atomize all names used by the query.

Output

Gets the output writer object.

XsltFunctions

Returns the object that manages the state. The state object is required to implement various XSLT functions.

Methods

AddNewIndex(XPathNavigator, Int32, XmlILIndex)

Adds a newly built index over the specified context document to the existing collection of indexes.

ChangeTypeXsltArgument(Int32, Object, Type)

Converts a value from the CLR type of the value parameter to CLR destinationType by using V1 XSLT rules. Converts any result tree fragment values to nodes.

ChangeTypeXsltResult(Int32, Object)

Converts from the CLR type of the value parameter to the default CLR type by which intermediate language generation represents the XML type, based on the conversion rules of the XML type.

ComparePosition(XPathNavigator, XPathNavigator)

Compares the relative positions of two navigators.

CreateCollation(String)

Creates a collation from a string.

DebugGetGlobalNames()

Returns an array containing the names of all the global variables and parameters used in this query.

DebugGetGlobalValue(String)

Gets the value of a global value that has the specified name.

DebugGetXsltValue(IList)

Converts a sequence to its appropriate XSLT type.

DebugSetGlobalValue(String, Object)

Sets the value of a global value that has the specified name.

DocOrderDistinct(IList<XPathNavigator>)

Gets distinct sorted nodes from the specified sequence.

EarlyBoundFunctionExists(String, String)

Determines whether the specified early-bound object contains a method with the specified name.

EndRtfConstruction(XmlQueryOutput)

Finishes constructing an RTF.

EndSequenceConstruction(XmlQueryOutput)

Finishes constructing a nested sequence of items.

Equals(Object)

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

(Inherited from Object)
FindIndex(XPathNavigator, Int32, XmlILIndex)

Returns the index with the specified ID if it has already been created over the specified document, and returns true. Otherwise, creates a new, empty index and returns false.

GenerateId(XPathNavigator)

Generate a unique string identifier for the specified node.

GetAtomizedName(Int32)

Gets the atomized name at the specified index in the array of names.

GetCollation(Int32)

Gets a collation that was statically created.

GetEarlyBoundObject(Int32)

Gets the specified early-bound extension object. If this object does not yet exist, creates an instance using the corresponding ConstructorInfo.

GetGlobalValue(Int32)

Returns the value that is bound to the specified global variable. If the value has not yet been computed, computes it and stores it in the global variable.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetNameFilter(Int32)

Gets the name filter at the specified index in the array of filters.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetTypeFilter(XPathNodeType)

Gets a filter that filters nodes of the specified type.

IsGlobalComputed(Int32)

Returns true if the specified global value has already been computed.

IsQNameEqual(XPathNavigator, Int32, Int32)

Determines whether the LocalName and NamespaceURI properties of the specified XPathNavigator are equal to the names specified in the parameters.

IsQNameEqual(XPathNavigator, XPathNavigator)

Compares the LocalName and NamespaceURI properties of two XPathNavigator instances to check if they are equal.

MatchesXmlType(IList<XPathItem>, Int32)

Returns true if the type of every item in the specified sequence matches the XML type that the specified index identifies.

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Determines whether the type of the specified sequence is a subtype of the specified singleton type.

MatchesXmlType(XPathItem, Int32)

Returns true if the type of the specified XPathItem object matches the specified XML type.

MatchesXmlType(XPathItem, XmlTypeCode)

Returns true if the type of the XPathItem object is a subtype of a type identified by the specified XmlTypeCode.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnCurrentNodeChanged(XPathNavigator)

Used for debugging in Visual Studio. Called after the current node has changed.

ParseTagName(String, Int32)

Parses the specified tag name and resolves the resulting prefix. If the prefix cannot be resolved, an error is thrown.

ParseTagName(String, String)

Parses the specified tag name. Returns an XmlQualifiedName that consists of the parsed local name and the specified namespace.

SendMessage(String)

Reports query execution information to the event handler.

SetGlobalValue(Int32, Object)

Returns the value that is bound to the specified global variable or parameter.

StartRtfConstruction(String, XmlQueryOutput)

Starts constructing an RTF and returns a new XmlQueryOutput object that will be used to construct this RTF.

StartSequenceConstruction(XmlQueryOutput)

Starts constructing a nested sequence of items. Returns a new XmlQueryOutput that will be used to construct this new sequence.

TextRtfConstruction(String, String)

Constructs a new XPathNavigator from the specified text.

ThrowException(String)

Throws an XML exception that has the specified message text.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to