Share via


XmlMemoryWriter Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a xml writer for a memory stream.

Inheritance Hierarchy

System. . :: . .Object
  System.Ext.Xml. . :: . .XmlWriter
    System.Ext.Xml..::..XmlMemoryWriter

Namespace:  System.Ext.Xml
Assembly:  MFDpwsExtensions (in MFDpwsExtensions.dll)

Syntax

'Declaration
Public Class XmlMemoryWriter _
    Inherits XmlWriter
public class XmlMemoryWriter : XmlWriter
public ref class XmlMemoryWriter : public XmlWriter
type XmlMemoryWriter =  
    class
        inherit XmlWriter
    end
public class XmlMemoryWriter extends XmlWriter

The XmlMemoryWriter type exposes the following members.

Constructors

  Name Description
Protected method XmlMemoryWriter

Top

Properties

  Name Description
Public property InnerStream Contains the stream for writing.
Public property XmlLang When overridden in a derived class, gets the current xml:lang scope. (Inherited from XmlWriter.)

Top

Methods

  Name Description
Public method Close When overridden in a derived class, closes this stream and the underlying stream. (Inherited from XmlWriter.)
Public methodStatic member Create Initializes a XmlMemoryWriter object.
Public method Dispose() () () () Releases all resources used by the XmlWriter object. (Inherited from XmlWriter.)
Protected method Dispose(Boolean) Releases resources. (Overrides XmlWriter. . :: . .Dispose(Boolean).)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize (Inherited from XmlWriter.)
Public method Flush When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. (Inherited from XmlWriter.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LookupPrefix When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. (Inherited from XmlWriter.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToArray Flushes stream to array.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteAttributeString(String, String) When overridden in a derived class, writes out the attribute with the specified local name and value. (Inherited from XmlWriter.)
Public method 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.)
Public method 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.)
Public method WriteBase64 When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. (Inherited from XmlWriter.)
Public method WriteChars When overridden in a derived class, writes text one buffer at a time. (Inherited from XmlWriter.)
Public method WriteComment When overridden in a derived class, writes out a comment containing the specified text. (Inherited from XmlWriter.)
Public method WriteElementString(String, String) When overridden in a derived class, writes an element with the specified local name and value. (Inherited from XmlWriter.)
Public method WriteElementString(String, String, String) When overridden in a derived class, writes an element with the specified local name, namespace URI, and value. (Inherited from XmlWriter.)
Public method WriteElementString(String, String, String, String) Writes an element with the specified prefix, local name, namespace URI, and value. (Inherited from XmlWriter.)
Public method WriteEndAttribute When overridden in a derived class, closes the previous WriteStartAttribute method. (Inherited from XmlWriter.)
Public method WriteEndElement When overridden in a derived class, closes one element and pops the corresponding namespace scope. (Inherited from XmlWriter.)
Public method WriteProcessingInstruction When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows. (Inherited from XmlWriter.)
Public method WriteRaw(String) When overridden in a derived class, writes raw markup manually from a string. (Inherited from XmlWriter.)
Public method WriteRaw(array<Char> [] () [] [], Int32, Int32) When overridden in a derived class, writes raw markup manually from a character buffer. (Inherited from XmlWriter.)
Public method WriteStartAttribute(String) Writes the start of an attribute with the specified local name. (Inherited from XmlWriter.)
Public method WriteStartAttribute(String, String) Writes the start of an attribute with the specified local name and namespace URI. (Inherited from XmlWriter.)
Public method WriteStartAttribute(String, String, String) When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. (Inherited from XmlWriter.)
Public method WriteStartElement(String) When overridden in a derived class, writes out a start tag with the specified local name. (Inherited from XmlWriter.)
Public method WriteStartElement(String, String) When overridden in a derived class, writes the specified start tag and associates it with the given namespace. (Inherited from XmlWriter.)
Public method WriteStartElement(String, String, String) When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. (Inherited from XmlWriter.)
Public method WriteString When overridden in a derived class, writes the given text content. (Inherited from XmlWriter.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Ext.Xml Namespace