XmlSerializer::CreateWriter Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

When overridden in a derived class, returns a writer used to serialize the object.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

virtual XmlSerializationWriter^ CreateWriter()

Return Value

Type: System.Xml.Serialization::XmlSerializationWriter^

An instance that implements the XmlSerializationWriter class.

Exception Condition

Any attempt is made to access the method when the method is not overridden in a descendant class.

.NET Framework
Available since 1.1
Available since 2.0
Return to top