XmlQueryOutput Class

Definition

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

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

public ref class XmlQueryOutput sealed : System::Xml::XmlWriter
public sealed class XmlQueryOutput : System.Xml.XmlWriter
type XmlQueryOutput = class
    inherit XmlWriter
Public NotInheritable Class XmlQueryOutput
Inherits XmlWriter
Inheritance
XmlQueryOutput

Properties

Settings

Gets the XmlWriterSettings object used to create this XmlWriter instance.

(Inherited from XmlWriter)
WriteState

Throws NotSupportedException.

XmlLang

Throws NotSupportedException.

XmlSpace

Throws NotSupportedException.

Methods

Close()

This method is implemented as empty and does nothing.

Dispose()

Releases all resources used by the current instance of the XmlWriter class.

(Inherited from XmlWriter)
Dispose(Boolean)

Releases the unmanaged resources used by the XmlWriter and optionally releases the managed resources.

(Inherited from XmlWriter)
EndCopy(XPathNavigator)

Ends the shallow copy of the navigator's current node. This method should only be called for element and document nodes.

EndTree()

Writes the end of the tree.

Equals(Object)

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

(Inherited from Object)
Flush()

This method is implemented as empty and does nothing.

FlushAsync()

Asynchronously flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.

(Inherited from XmlWriter)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LookupPrefix(String)

Throws NotSupportedException.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
StartCopy(XPathNavigator)

Begins the shallow copy of the navigator's current node to output.

StartElementContentUnchecked()

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.

StartTree(XPathNodeType)

Starts the construction of a new tree.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteAttributes(XmlReader, Boolean)

When overridden in a derived class, writes out all the attributes found at the current position in the XmlReader.

(Inherited from XmlWriter)
WriteAttributesAsync(XmlReader, Boolean)

Asynchronously writes out all the attributes found at the current position in the XmlReader.

(Inherited from XmlWriter)
WriteAttributeString(String, String)

When overridden in a derived class, writes out the attribute with the specified local name and value.

(Inherited from XmlWriter)
WriteAttributeString(String, String, String)

When overridden in a derived class, writes an attribute with the specified local name, namespace URI, and value.

(Inherited from XmlWriter)
WriteAttributeString(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)
WriteAttributeStringAsync(String, String, String, String)

Asynchronously writes out the attribute with the specified prefix, local name, namespace URI, and value.

(Inherited from XmlWriter)
WriteBase64(Byte[], Int32, Int32)

Throws NotSupportedException.

WriteBase64Async(Byte[], Int32, Int32)

Asynchronously encodes the specified binary bytes as Base64 and writes out the resulting text.

(Inherited from XmlWriter)
WriteBinHex(Byte[], Int32, Int32)

When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text.

(Inherited from XmlWriter)
WriteBinHexAsync(Byte[], Int32, Int32)

Asynchronously encodes the specified binary bytes as BinHex and writes out the resulting text.

(Inherited from XmlWriter)
WriteCData(String)

Empty implementation that does nothing.

WriteCDataAsync(String)

Asynchronously writes out a <![CDATA[...]]> block containing the specified text.

(Inherited from XmlWriter)
WriteCharEntity(Char)

Throws NotSupportedException.

WriteCharEntityAsync(Char)

Asynchronously forces the generation of a character entity for the specified Unicode character value.

(Inherited from XmlWriter)
WriteChars(Char[], Int32, Int32)

Throws NotSupportedException.

WriteCharsAsync(Char[], Int32, Int32)

Asynchronously writes text one buffer at a time.

(Inherited from XmlWriter)
WriteComment(String)

Writes the comment. The method does not verify well-formedness. Other methods called by this one do the necessary checks.

WriteCommentAsync(String)

Asynchronously writes out a comment <!--...--> containing the specified text.

(Inherited from XmlWriter)
WriteCommentString(String)

Cache the comment's string.

WriteDocType(String, String, String, String)

Throws NotSupportedException. Should never be called.

WriteDocTypeAsync(String, String, String, String)

Asynchronously writes the DOCTYPE declaration with the specified name and optional attributes.

(Inherited from XmlWriter)
WriteElementString(String, String)

Writes an element with the specified local name and value.

(Inherited from XmlWriter)
WriteElementString(String, String, String)

Writes an element with the specified local name, namespace URI, and value.

(Inherited from XmlWriter)
WriteElementString(String, String, String, String)

Writes an element with the specified prefix, local name, namespace URI, and value.

(Inherited from XmlWriter)
WriteElementStringAsync(String, String, String, String)

Asynchronously writes an element with the specified prefix, local name, namespace URI, and value.

(Inherited from XmlWriter)
WriteEndAttribute()

Checks the attribute for well-formedness and writes the end of the attribute.

WriteEndAttributeAsync()

Asynchronously closes the previous WriteStartAttribute(String, String) call.

(Inherited from XmlWriter)
WriteEndAttributeUnchecked()

Writes the end of the attribute. There is an assumption of well-formedness, so no additional checks are performed.

WriteEndComment()

Checks the comment for well-formedness and writes the end of the comment.

WriteEndDocument()

Throws NotSupportedException.

WriteEndDocumentAsync()

Asynchronously closes any open elements or attributes and puts the writer back in the Start state.

(Inherited from XmlWriter)
WriteEndElement()

Checks the element for well-formedness and writes the end of the element.

WriteEndElementAsync()

Asynchronously closes one element and pops the corresponding namespace scope.

(Inherited from XmlWriter)
WriteEndElementUnchecked(String)

Writes the end of the element with local name. Well-formedness is assumed, so no additional checks are performed.

WriteEndElementUnchecked(String, String, String)

Writes the end of the element with prefix, local name, and namespace. No checks are performed.

WriteEndNamespace()

Checks the namespace for well-formedness and writes the namespace.

WriteEndProcessingInstruction()

Checks the processing instruction for well-formedness and writes the processing instruction.

WriteEndRoot()

Writes the end of the root of the tree and resets the state.

WriteEntityRef(String)

Throws NotSupportedException.

WriteEntityRefAsync(String)

Asynchronously writes out an entity reference as &name;.

(Inherited from XmlWriter)
WriteFullEndElement()

Checks the element for well-formedness before writing the end of the element.

WriteFullEndElementAsync()

Asynchronously closes one element and pops the corresponding namespace scope.

(Inherited from XmlWriter)
WriteItem(XPathItem)

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.

WriteName(String)

When overridden in a derived class, writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

(Inherited from XmlWriter)
WriteNameAsync(String)

Asynchronously writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

(Inherited from XmlWriter)
WriteNamespaceDeclaration(String, String)

Checks the namespace declaration for well-formedness and writes the namespace declaration.

WriteNamespaceDeclarationUnchecked(String, String)

Adds a new namespace declaration - xmlns:prefix="ns" - to the set of in-scope declarations. This method does not perform any additional checks.

WriteNamespaceString(String)

Caches the namespace's text.

WriteNmToken(String)

When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

(Inherited from XmlWriter)
WriteNmTokenAsync(String)

Asynchronously writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (https://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).

(Inherited from XmlWriter)
WriteNode(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)
WriteNode(XPathNavigator, Boolean)

Copies everything from the XPathNavigator object to the writer. The position of the XPathNavigator remains unchanged.

(Inherited from XmlWriter)
WriteNodeAsync(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)
WriteNodeAsync(XPathNavigator, Boolean)

Asynchronously copies everything from the XPathNavigator object to the writer. The position of the XPathNavigator remains unchanged.

(Inherited from XmlWriter)
WriteProcessingInstruction(String, String)

Writes the processing instruction. No checks for well-formedness are done by this method; the called methods do checks if needed.

WriteProcessingInstructionAsync(String, String)

Asynchronously writes out a processing instruction with a space between the name and text as follows: <?name text?>.

(Inherited from XmlWriter)
WriteProcessingInstructionString(String)

Caches the processing instruction's text.

WriteQualifiedName(String, String)

When 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)
WriteQualifiedNameAsync(String, String)

Asynchronously writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace.

(Inherited from XmlWriter)
WriteRaw(Char[], Int32, Int32)

Throws NotSupportedException.

WriteRaw(String)

Throws NotSupportedException.

WriteRawAsync(Char[], Int32, Int32)

Asynchronously writes raw markup manually from a character buffer.

(Inherited from XmlWriter)
WriteRawAsync(String)

Asynchronously writes raw markup manually from a string.

(Inherited from XmlWriter)
WriteRawUnchecked(String)

Writes a text block without escaping special characters.

WriteStartAttribute(String)

Writes the start of an attribute with the specified local name.

(Inherited from XmlWriter)
WriteStartAttribute(String, String)

Writes the start of an attribute with the specified local name and namespace URI.

(Inherited from XmlWriter)
WriteStartAttribute(String, String, String)

Checks the attribute for well-formedness before writing the start of the attribute.

WriteStartAttributeAsync(String, String, String)

Asynchronously writes the start of an attribute with the specified prefix, local name, and namespace URI.

(Inherited from XmlWriter)
WriteStartAttributeComputed(String, Int32)

Writes an attribute with a name that is computed from a prefix:localName tag name and a set of prefix mappings.

WriteStartAttributeComputed(String, String)

Writes an attribute with a name that is computed from a "prefix:localName" tag name and a set of prefix mappings.

WriteStartAttributeComputed(XmlQualifiedName)

Writes an attribute with a name that is computed from a prefix:localName tag name and a set of prefix mappings.

WriteStartAttributeComputed(XPathNavigator)

Writes an attribute with a name that is computed from a prefix:localName tag name and a set of prefix mappings.

WriteStartAttributeLocalName(String)

Writes the start of the attribute with an empty prefix, namespace, and null schema type.

WriteStartAttributeUnchecked(String)

Writes the start of the attribute with local name.

WriteStartAttributeUnchecked(String, String, String)

Writes the start of the attribute with prefix, local name and ns without checks for well-formedness.

WriteStartComment()

Checks the start of the comment for well-formedness and writes the start of the comment.

WriteStartDocument()

Throws NotSupportedException.

WriteStartDocument(Boolean)

Throws NotSupportedException.

WriteStartDocumentAsync()

Asynchronously writes the XML declaration with the version "1.0".

(Inherited from XmlWriter)
WriteStartDocumentAsync(Boolean)

Asynchronously writes the XML declaration with the version "1.0" and the standalone attribute.

(Inherited from XmlWriter)
WriteStartElement(String)

When overridden in a derived class, writes out a start tag with the specified local name.

(Inherited from XmlWriter)
WriteStartElement(String, String)

When overridden in a derived class, writes the specified start tag and associates it with the given namespace.

(Inherited from XmlWriter)
WriteStartElement(String, String, String)

Writes start element after checks that ensure well-formedness.

WriteStartElementAsync(String, String, String)

Asynchronously writes the specified start tag and associates it with the given namespace and prefix.

(Inherited from XmlWriter)
WriteStartElementComputed(String, Int32)

Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.

WriteStartElementComputed(String, String)

Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.

WriteStartElementComputed(XmlQualifiedName)

Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.

WriteStartElementComputed(XPathNavigator)

Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.

WriteStartElementLocalName(String)

Writes the local name with an empty prefix and namespace.

WriteStartElementUnchecked(String)

Writes the start of an element. There is an assumption of well-formedness, so no additional checks are performed.

WriteStartElementUnchecked(String, String, String)

Writes an element with a name that is computed from a prefix:localName tag name and a set of prefix mappings.

WriteStartNamespace(String)

Checks for well-formedness and writes the start of the namespace.

WriteStartProcessingInstruction(String)

Checks the comment for well-formedness and writes the start of the processing instruction.

WriteStartRoot()

Checks the root of the tree for well-formedness and writes the root of the tree.

WriteString(String)

Checks the string for well-formedness and writes text.

WriteStringAsync(String)

Asynchronously writes the given text content.

(Inherited from XmlWriter)
WriteStringUnchecked(String)

Writes text. Well-formedness is assumed, so no checks are performed.

WriteSurrogateCharEntity(Char, Char)

Throws NotSupportedException.

WriteSurrogateCharEntityAsync(Char, Char)

Asynchronously generates and writes the surrogate character entity for the surrogate character pair.

(Inherited from XmlWriter)
WriteValue(Boolean)

Writes a Boolean value.

(Inherited from XmlWriter)
WriteValue(DateTime)

Writes a DateTime value.

(Inherited from XmlWriter)
WriteValue(DateTimeOffset)

Writes a DateTimeOffset value.

(Inherited from XmlWriter)
WriteValue(Decimal)

Writes a Decimal value.

(Inherited from XmlWriter)
WriteValue(Double)

Writes a Double value.

(Inherited from XmlWriter)
WriteValue(Int32)

Writes a Int32 value.

(Inherited from XmlWriter)
WriteValue(Int64)

Writes a Int64 value.

(Inherited from XmlWriter)
WriteValue(Object)

Writes the object value.

(Inherited from XmlWriter)
WriteValue(Single)

Writes a single-precision floating-point number.

(Inherited from XmlWriter)
WriteValue(String)

Writes a String value.

(Inherited from XmlWriter)
WriteWhitespace(String)

Throws NotSupportedException.

WriteWhitespaceAsync(String)

Asynchronously writes out the given white space.

(Inherited from XmlWriter)
XsltCopyOf(XPathNavigator)

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.

Explicit Interface Implementations

IDisposable.Dispose()

For a description of this member, see Dispose().

(Inherited from XmlWriter)

Applies to