XamlXmlWriter Methods

.NET Framework (current version)
 

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

NameDescription
System_CAPS_pubmethodClose()

Closes the XAML writer object.(Inherited from XamlWriter.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by XamlXmlWriter and optionally releases the managed resources. (Overrides XamlWriter.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFlush()

Calls the Flush method of the underlying XmlWriter or TextWriter, which writes anything that is currently in the buffer, and then closes the writer.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWriteEndMember()

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().)

System_CAPS_pubmethodWriteEndObject()

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().)

System_CAPS_pubmethodWriteGetObject()

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().)

System_CAPS_pubmethodWriteNamespace(NamespaceDeclaration)

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).)

System_CAPS_pubmethodWriteNode(XamlReader)

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.)

System_CAPS_pubmethodWriteStartMember(XamlMember)

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).)

System_CAPS_pubmethodWriteStartObject(XamlType)

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).)

System_CAPS_pubmethodWriteValue(Object)

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).)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

This API supports the product infrastructure and is not intended to be used directly from your code. See Dispose.(Inherited from XamlWriter.)

Return to top
Show: