XmlQueryOutput Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents an XmlWriter that provides additional functionality that is required for outputting the results of XSLT transformations.

System.Object
  System.Xml.XmlWriter
    System.Xml.Xsl.Runtime.XmlQueryOutput

Namespace:  System.Xml.Xsl.Runtime
Assembly:  System.Data.SqlXml (in System.Data.SqlXml.dll)

public sealed class XmlQueryOutput : XmlWriter

The XmlQueryOutput type exposes the following members.

  NameDescription
Public propertySettingsGets the XmlWriterSettings object used to create this XmlWriter instance. (Inherited from XmlWriter.)
Public propertyWriteStateInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteState.)
Public propertyXmlLangInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.XmlLang.)
Public propertyXmlSpaceInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.XmlSpace.)
Top

  NameDescription
Public methodCloseInfrastructure. This method is implemented as empty and does nothing. (Overrides XmlWriter.Close().)
Public methodDispose()Releases all resources used by the current instance of the XmlWriter class. (Inherited from XmlWriter.)
Public methodEndCopyInfrastructure. Ends the shallow copy of the navigator's current node. This method should only be called for element and document nodes.
Public methodEndTreeInfrastructure. Writes the end of the tree.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodFlushInfrastructure. This method is implemented as empty and does nothing. (Overrides XmlWriter.Flush().)
Public methodFlushAsyncAsynchronously flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. (Inherited from XmlWriter.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodLookupPrefixInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.LookupPrefix(String).)
Public methodStartCopyInfrastructure. Begins the shallow copy of the navigator's current node to output.
Public methodStartElementContentUncheckedInfrastructure. Called after an element's attributes have been enumerated, but before any children have been enumerated. Well-formedness is assumed, so no additional checks are performed.
Public methodStartTreeInfrastructure. Starts the construction of a new tree.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteAttributesWhen overridden in a derived class, writes out all the attributes found at the current position in the XmlReader. (Inherited from XmlWriter.)
Public methodWriteAttributesAsyncAsynchronously writes out all the attributes found at the current position in the XmlReader. (Inherited from XmlWriter.)
Public methodWriteAttributeString(String, String)When overridden in a derived class, writes out the attribute with the specified local name and value. (Inherited from XmlWriter.)
Public methodWriteAttributeString(String, String, String)When overridden in a derived class, writes an attribute with the specified local name, namespace URI, and value. (Inherited from XmlWriter.)
Public methodWriteAttributeString(String, String, String, String)When overridden in a derived class, writes out the attribute with the specified prefix, local name, namespace URI, and value. (Inherited from XmlWriter.)
Public methodWriteAttributeStringAsyncAsynchronously writes out the attribute with the specified prefix, local name, namespace URI, and value. (Inherited from XmlWriter.)
Public methodWriteBase64Infrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteBase64(Byte[], Int32, Int32).)
Public methodWriteBase64AsyncAsynchronously encodes the specified binary bytes as Base64 and writes out the resulting text. (Inherited from XmlWriter.)
Public methodWriteBinHexWhen overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text. (Inherited from XmlWriter.)
Public methodWriteBinHexAsyncAsynchronously encodes the specified binary bytes as BinHex and writes out the resulting text. (Inherited from XmlWriter.)
Public methodWriteCDataInfrastructure. Empty implementation that does nothing. (Overrides XmlWriter.WriteCData(String).)
Public methodWriteCDataAsyncAsynchronously writes out a <![CDATA[...]]> block containing the specified text. (Inherited from XmlWriter.)
Public methodWriteCharEntityInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteCharEntity(Char).)
Public methodWriteCharEntityAsyncAsynchronously forces the generation of a character entity for the specified Unicode character value. (Inherited from XmlWriter.)
Public methodWriteCharsInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteChars(Char[], Int32, Int32).)
Public methodWriteCharsAsyncAsynchronously writes text one buffer at a time. (Inherited from XmlWriter.)
Public methodWriteCommentInfrastructure. Writes the comment. The method does not verify well-formedness. Other methods called by this one do the necessary checks. (Overrides XmlWriter.WriteComment(String).)
Public methodWriteCommentAsyncAsynchronously writes out a comment <!--...--> containing the specified text. (Inherited from XmlWriter.)
Public methodWriteCommentStringInfrastructure. Cache the comment's string.
Public methodWriteDocTypeInfrastructure. Throws NotSupportedException. Should never be called. (Overrides XmlWriter.WriteDocType(String, String, String, String).)
Public methodWriteDocTypeAsyncAsynchronously writes the DOCTYPE declaration with the specified name and optional attributes. (Inherited from XmlWriter.)
Public methodWriteElementString(String, String)Writes an element with the specified local name and value. (Inherited from XmlWriter.)
Public methodWriteElementString(String, String, String)Writes an element with the specified local name, namespace URI, and value. (Inherited from XmlWriter.)
Public methodWriteElementString(String, String, String, String)Writes an element with the specified prefix, local name, namespace URI, and value. (Inherited from XmlWriter.)
Public methodWriteElementStringAsyncAsynchronously writes an element with the specified prefix, local name, namespace URI, and value. (Inherited from XmlWriter.)
Public methodWriteEndAttributeInfrastructure. Checks the attribute for well-formedness and writes the end of the attribute. (Overrides XmlWriter.WriteEndAttribute().)
Protected methodWriteEndAttributeAsyncAsynchronously closes the previous WriteStartAttribute call. (Inherited from XmlWriter.)
Public methodWriteEndAttributeUncheckedInfrastructure. Writes the end of the attribute. There is an assumption of well-formedness, so no additional checks are performed.
Public methodWriteEndCommentInfrastructure. Checks the comment for well-formedness and writes the end of the comment.
Public methodWriteEndDocumentInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteEndDocument().)
Public methodWriteEndDocumentAsyncAsynchronously closes any open elements or attributes and puts the writer back in the Start state. (Inherited from XmlWriter.)
Public methodWriteEndElementInfrastructure. Checks the element for well-formedness and writes the end of the element. (Overrides XmlWriter.WriteEndElement().)
Public methodWriteEndElementAsyncAsynchronously closes one element and pops the corresponding namespace scope. (Inherited from XmlWriter.)
Public methodWriteEndElementUnchecked(String)Infrastructure. Writes the end of the element with local name. Well-formedness is assumed, so no additional checks are performed.
Public methodWriteEndElementUnchecked(String, String, String)Infrastructure. Writes the end of the element with prefix, local name, and namespace. No checks are performed.
Public methodWriteEndNamespaceInfrastructure. Checks the namespace for well-formedness and writes the namespace.
Public methodWriteEndProcessingInstructionInfrastructure. Checks the processing instruction for well-formedness and writes the processing instruction.
Public methodWriteEndRootInfrastructure. Writes the end of the root of the tree and resets the state.
Public methodWriteEntityRefInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteEntityRef(String).)
Public methodWriteEntityRefAsyncAsynchronously writes out an entity reference as &name;. (Inherited from XmlWriter.)
Public methodWriteFullEndElementInfrastructure. Checks the element for well-formedness before writing the end of the element. (Overrides XmlWriter.WriteFullEndElement().)
Public methodWriteFullEndElementAsyncAsynchronously closes one element and pops the corresponding namespace scope. (Inherited from XmlWriter.)
Public methodWriteItemInfrastructure. Write an item to output. If currently constructing an Xml tree, then the item is always copied. At the top-level, the item's identity is preserved unless it is an atomic value.
Public methodWriteNameWhen overridden in a derived class, writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (Inherited from XmlWriter.)
Public methodWriteNameAsyncAsynchronously writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (Inherited from XmlWriter.)
Public methodWriteNamespaceDeclarationInfrastructure. Checks the namespace declaration for well-formedness and writes the namespace declaration.
Public methodWriteNamespaceDeclarationUncheckedInfrastructure. Adds a new namespace declaration - xmlns:prefix="ns" - to the set of in-scope declarations. This method does not perform any additional checks.
Public methodWriteNamespaceStringInfrastructure. Caches the namespace's text.
Public methodWriteNmTokenWhen overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (Inherited from XmlWriter.)
Public methodWriteNmTokenAsyncAsynchronously writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). (Inherited from XmlWriter.)
Public methodWriteNode(XmlReader, Boolean)When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling. (Inherited from XmlWriter.)
Public methodWriteNode(XPathNavigator, Boolean)Copies everything from the XPathNavigator object to the writer. The position of the XPathNavigator remains unchanged. (Inherited from XmlWriter.)
Public methodWriteNodeAsync(XmlReader, Boolean)Asynchronously copies everything from the reader to the writer and moves the reader to the start of the next sibling. (Inherited from XmlWriter.)
Public methodWriteNodeAsync(XPathNavigator, Boolean)Asynchronously copies everything from the XPathNavigator object to the writer. The position of the XPathNavigator remains unchanged. (Inherited from XmlWriter.)
Public methodWriteProcessingInstructionInfrastructure. Writes the processing instruction. No checks for well-formedness are done by this method; the called methods do checks if needed. (Overrides XmlWriter.WriteProcessingInstruction(String, String).)
Public methodWriteProcessingInstructionAsyncAsynchronously writes out a processing instruction with a space between the name and text as follows: <?name text?>. (Inherited from XmlWriter.)
Public methodWriteProcessingInstructionStringInfrastructure. Caches the processing instruction's text.
Public methodWriteQualifiedNameWhen overridden in a derived class, writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace. (Inherited from XmlWriter.)
Public methodWriteQualifiedNameAsyncAsynchronously writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace. (Inherited from XmlWriter.)
Public methodWriteRaw(String)Infrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteRaw(String).)
Public methodWriteRaw(Char[], Int32, Int32)Infrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteRaw(Char[], Int32, Int32).)
Public methodWriteRawAsync(String)Asynchronously writes raw markup manually from a string. (Inherited from XmlWriter.)
Public methodWriteRawAsync(Char[], Int32, Int32)Asynchronously writes raw markup manually from a character buffer. (Inherited from XmlWriter.)
Public methodWriteRawUncheckedInfrastructure. Writes a text block without escaping special characters.
Public methodWriteStartAttribute(String)Writes the start of an attribute with the specified local name. (Inherited from XmlWriter.)
Public methodWriteStartAttribute(String, String)Writes the start of an attribute with the specified local name and namespace URI. (Inherited from XmlWriter.)
Public methodWriteStartAttribute(String, String, String)Infrastructure. Checks the attribute for well-formedness before writing the start of the attribute. (Overrides XmlWriter.WriteStartAttribute(String, String, String).)
Protected methodWriteStartAttributeAsyncAsynchronously writes the start of an attribute with the specified prefix, local name, and namespace URI. (Inherited from XmlWriter.)
Public methodWriteStartAttributeComputed(XmlQualifiedName)Infrastructure. Writes an attribute with a name that is computed from a prefix:localName tag name and a set of prefix mappings.
Public methodWriteStartAttributeComputed(XPathNavigator)Infrastructure. Writes an attribute with a name that is computed from a prefix:localName tag name and a set of prefix mappings.
Public methodWriteStartAttributeComputed(String, Int32)Infrastructure. Writes an attribute with a name that is computed from a prefix:localName tag name and a set of prefix mappings.
Public methodWriteStartAttributeComputed(String, String)Infrastructure. Writes an attribute with a name that is computed from a "prefix:localName" tag name and a set of prefix mappings.
Public methodWriteStartAttributeLocalNameInfrastructure. Writes the start of the attribute with an empty prefix, namespace, and null schema type.
Public methodWriteStartAttributeUnchecked(String)Infrastructure. Writes the start of the attribute with local name.
Public methodWriteStartAttributeUnchecked(String, String, String)Infrastructure. Writes the start of the attribute with prefix, local name and ns without checks for well-formedness.
Public methodWriteStartCommentInfrastructure. Checks the start of the comment for well-formedness and writes the start of the comment.
Public methodWriteStartDocument()Infrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteStartDocument().)
Public methodWriteStartDocument(Boolean)Infrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteStartDocument(Boolean).)
Public methodWriteStartDocumentAsync()Asynchronously writes the XML declaration with the version "1.0". (Inherited from XmlWriter.)
Public methodWriteStartDocumentAsync(Boolean)Asynchronously writes the XML declaration with the version "1.0" and the standalone attribute. (Inherited from XmlWriter.)
Public methodWriteStartElement(String)When overridden in a derived class, writes out a start tag with the specified local name. (Inherited from XmlWriter.)
Public methodWriteStartElement(String, String)When overridden in a derived class, writes the specified start tag and associates it with the given namespace. (Inherited from XmlWriter.)
Public methodWriteStartElement(String, String, String)Infrastructure. Writes start element after checks that ensure well-formedness. (Overrides XmlWriter.WriteStartElement(String, String, String).)
Public methodWriteStartElementAsyncAsynchronously writes the specified start tag and associates it with the given namespace and prefix. (Inherited from XmlWriter.)
Public methodWriteStartElementComputed(XmlQualifiedName)Infrastructure. Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.
Public methodWriteStartElementComputed(XPathNavigator)Infrastructure. Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.
Public methodWriteStartElementComputed(String, Int32)Infrastructure. Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.
Public methodWriteStartElementComputed(String, String)Infrastructure. Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.
Public methodWriteStartElementLocalNameInfrastructure. Writes the local name with an empty prefix and namespace.
Public methodWriteStartElementUnchecked(String)Infrastructure. Writes the start of an element. There is an assumption of well-formedness, so no additional checks are performed.
Public methodWriteStartElementUnchecked(String, String, String)Infrastructure. Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.
Public methodWriteStartNamespaceInfrastructure. Checks for well-formedness and writes the start of the namespace.
Public methodWriteStartProcessingInstructionInfrastructure. Checks the comment for well-formedness and writes the start of the processing instruction.
Public methodWriteStartRootInfrastructure. Checks the root of the tree for well-formedness and writes the root of the tree.
Public methodWriteStringInfrastructure. Checks the string for well-formedness and writes text. (Overrides XmlWriter.WriteString(String).)
Public methodWriteStringAsyncAsynchronously writes the given text content. (Inherited from XmlWriter.)
Public methodWriteStringUncheckedInfrastructure. Writes text. Well-formedness is assumed, so no checks are performed.
Public methodWriteSurrogateCharEntityInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteSurrogateCharEntity(Char, Char).)
Public methodWriteSurrogateCharEntityAsyncAsynchronously generates and writes the surrogate character entity for the surrogate character pair. (Inherited from XmlWriter.)
Public methodWriteValue(Boolean)Writes a Boolean value. (Inherited from XmlWriter.)
Public methodWriteValue(DateTime)Writes a DateTime value. (Inherited from XmlWriter.)
Public methodWriteValue(DateTimeOffset)Writes a DateTimeOffset value. (Inherited from XmlWriter.)
Public methodWriteValue(Decimal)Writes a Decimal value. (Inherited from XmlWriter.)
Public methodWriteValue(Double)Writes a Double value. (Inherited from XmlWriter.)
Public methodWriteValue(Int32)Writes a Int32 value. (Inherited from XmlWriter.)
Public methodWriteValue(Int64)Writes a Int64 value. (Inherited from XmlWriter.)
Public methodWriteValue(Object)Writes the object value. (Inherited from XmlWriter.)
Public methodWriteValue(Single)Writes a single-precision floating-point number. (Inherited from XmlWriter.)
Public methodWriteValue(String)Writes a String value. (Inherited from XmlWriter.)
Public methodWriteWhitespaceInfrastructure. Throws NotSupportedException. (Overrides XmlWriter.WriteWhitespace(String).)
Public methodWriteWhitespaceAsyncAsynchronously writes out the given white space. (Inherited from XmlWriter.)
Public methodXsltCopyOfInfrastructure. Copies a node by value to output according to the following Xslt rules: identity is never preserved, if the item is an Rtf, preserve serialization hints when copying, and if the item is a root node, copy the children of the root.
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeFor a description of this member, see IDisposable.Dispose. (Inherited from XmlWriter.)
Top

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft