Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlWriter Members

XmlWriter overview

Public Properties

public propertyWriteState

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the state of the writer.
public propertyXmlLang

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the current xml:lang scope.
public propertyXmlSpace

Supported by the .NET Compact Framework.

When overridden in a derived class, gets an XmlSpace representing the current xml:space scope.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

When overridden in a derived class, closes this stream and the underlying stream.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFlush

Supported by the .NET Compact Framework.

When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodLookupPrefix

Supported by the .NET Compact Framework.

When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodWriteAttributes

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, writes an attribute with the specified value.
public methodWriteBase64

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text.
public methodWriteCharEntity

Supported by the .NET Compact Framework.

When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value.
public methodWriteChars

Supported by the .NET Compact Framework.

When overridden in a derived class, writes text one buffer at a time.
public methodWriteComment

Supported by the .NET Compact Framework.

When overridden in a derived class, writes out a comment <!--...--> containing the specified text.
public methodWriteDocType

Supported by the .NET Compact Framework.

When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes.
public methodWriteElementString

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, writes an element containing a string value.
public methodWriteEndAttribute

Supported by the .NET Compact Framework.

When overridden in a derived class, closes the previous WriteStartAttribute call.
public methodWriteEndDocument

Supported by the .NET Compact Framework.

When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state.
public methodWriteEndElement

Supported by the .NET Compact Framework.

When overridden in a derived class, closes one element and pops the corresponding namespace scope.
public methodWriteEntityRef

Supported by the .NET Compact Framework.

When overridden in a derived class, writes out an entity reference as &name;.
public methodWriteFullEndElement

Supported by the .NET Compact Framework.

When overridden in a derived class, closes one element and pops the corresponding namespace scope.
public methodWriteName

Supported by the .NET Compact Framework.

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 (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).
public methodWriteNmToken

Supported by the .NET Compact Framework.

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 (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name).
public methodWriteNode

Supported by the .NET Compact Framework.

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.
public methodWriteProcessingInstruction

Supported by the .NET Compact Framework.

When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>.
public methodWriteQualifiedName

Supported by the .NET Compact Framework.

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.
public methodWriteRaw

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, writes raw markup manually.
public methodWriteStartAttribute

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, writes the start of an attribute.
public methodWriteStartDocument

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, writes the XML declaration.
public methodWriteStartElement

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, writes the specified start tag.
public methodWriteString

Supported by the .NET Compact Framework.

When overridden in a derived class, writes the given text content.
public methodWriteSurrogateCharEntity

Supported by the .NET Compact Framework.

When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair.
public methodWriteWhitespace

Supported by the .NET Compact Framework.

When overridden in a derived class, writes out the given white space.

Protected Constructors

protected constructorXmlWriter Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the XmlWriter class.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

XmlWriter Class | System.Xml Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.