Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a writer that provides a fast, non-cached, forward-only means of generating streams or files containing XML data.
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 XmlWriter _
Implements IDisposable
public class XmlWriter : IDisposable
public ref class XmlWriter : IDisposable
type XmlWriter =
class
interface IDisposable
end
public class XmlWriter implements IDisposable
The XmlWriter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
XmlWriter() () () () | Initializes a new instance of the XmlWriter class. |
![]() |
XmlWriter(Stream) | Initializes a new instance of the XmlWriter class with the specified stream. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
XmlLang | When overridden in a derived class, gets the current xml:lang scope. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Close | When overridden in a derived class, closes this stream and the underlying stream. |
![]() ![]() |
Create | Creates a new XmlWriter instance using the specified stream. |
![]() |
Dispose() () () () | Releases all resources used by the XmlWriter object. |
![]() |
Dispose(Boolean) | Releases all resources used by the XmlWriter object and optionally releases the managed resources. |
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | (Overrides Object. . :: . .Finalize() () () ().) |
![]() |
Flush | When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
LookupPrefix | When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
WriteAttributeString(String, String) | When overridden in a derived class, writes out the attribute with the specified local name and value. |
![]() |
WriteAttributeString(String, String, String) | When overridden in a derived class, writes an attribute with the specified local name, namespace URI, and value. |
![]() |
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. |
![]() |
WriteBase64 | When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. |
![]() |
WriteChars | When overridden in a derived class, writes text one buffer at a time. |
![]() |
WriteComment | When overridden in a derived class, writes out a comment containing the specified text. |
![]() |
WriteElementString(String, String) | When overridden in a derived class, writes an element with the specified local name and value. |
![]() |
WriteElementString(String, String, String) | When overridden in a derived class, writes an element with the specified local name, namespace URI, and value. |
![]() |
WriteElementString(String, String, String, String) | Writes an element with the specified prefix, local name, namespace URI, and value. |
![]() |
WriteEndAttribute | When overridden in a derived class, closes the previous WriteStartAttribute method. |
![]() |
WriteEndElement | When overridden in a derived class, closes one element and pops the corresponding namespace scope. |
![]() |
WriteProcessingInstruction | When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows. |
![]() |
WriteRaw(String) | When overridden in a derived class, writes raw markup manually from a string. |
![]() |
WriteRaw(array<Char> [] () [] [], Int32, Int32) | When overridden in a derived class, writes raw markup manually from a character buffer. |
![]() |
WriteStartAttribute(String) | Writes the start of an attribute with the specified local name. |
![]() |
WriteStartAttribute(String, String) | Writes the start of an attribute with the specified local name and namespace URI. |
![]() |
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. |
![]() |
WriteStartElement(String) | When overridden in a derived class, writes out a start tag with the specified local name. |
![]() |
WriteStartElement(String, String) | When overridden in a derived class, writes the specified start tag and associates it with the given namespace. |
![]() |
WriteStartElement(String, String, String) | When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. |
![]() |
WriteString | When overridden in a derived class, writes the given text content. |
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.
.gif)
.gif)
.gif)
.gif)