This documentation is archived and is not being maintained.

XamlXmlWriter Methods

The XamlXmlWriter type exposes the following members.

  NameDescription
Public method Close Closes the XAML writer object. (Inherited from XamlWriter.)
Protected method Dispose Releases the unmanaged resources used by XamlXmlWriter and optionally releases the managed resources. (Overrides XamlWriter.Dispose(Boolean).)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush Calls the Flush method of the underlying XmlWriter or TextWriter, which writes anything that is currently in the buffer, and then closes the writer.
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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteEndMember Writes a XAML end member node to the underlying XmlWriter or TextWriter. Throws an exception if the current position of the XAML node stream is not within a member, or if the internal writer state does not support writing to an end member. (Overrides XamlWriter.WriteEndMember().)
Public method WriteEndObject Writes a XAML end object node to the underlying XmlWriter or TextWriter. Throws an exception if the current position of the XAML node stream that is being processed is incompatible with writing an end object. (Overrides XamlWriter.WriteEndObject().)
Public method WriteGetObject Writes an object for cases where the specified object is a default or implicit value of the property that is being written, instead of being specified as an object value in the input XAML node set. (Overrides XamlWriter.WriteGetObject().)
Public method WriteNamespace Writes namespace information to the underlying XmlWriter or TextWriter. May throw an exception for certain states; however, may instead defer writing the namespace information until the writer and the XAML node stream that is being processed reaches a position where a XAML namespace declaration can be inserted. (Overrides XamlWriter.WriteNamespace(NamespaceDeclaration).)
Public method WriteNode Performs switching based on node type from the XAML reader (XamlReader.NodeType) and calls the relevant Write method for the writer implementation. (Inherited from XamlWriter.)
Public method WriteStartMember Writes a XAML start member node to the underlying XmlWriter or TextWriter. Throws an exception if the current position of the XAML node stream is within another member, or if it is not in a scope or writer state where a start member can be written. (Overrides XamlWriter.WriteStartMember(XamlMember).)
Public method WriteStartObject Writes a XAML start object node to the underlying XmlWriter or TextWriter. Throws an exception if the current position of the XAML node stream is not in a scope where a start object can be written, or if the writer is not in a state that can write a start object. (Overrides XamlWriter.WriteStartObject(XamlType).)
Public method WriteValue Writes a XAML value node to the underlying XmlWriter or TextWriter. Throws an exception if the current position of the XAML node stream is invalid for writing a value, or the writer is in a state where a value cannot be written. (Overrides XamlWriter.WriteValue(Object).)
Top

  NameDescription
Explicit interface implemetation Private method IDisposable.Dispose Infrastructure. See Dispose. (Inherited from XamlWriter.)
Top
Show: