XmlSerializer.CreateWriter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, returns a writer used to serialize the object.
protected:
virtual System::Xml::Serialization::XmlSerializationWriter ^ CreateWriter();
protected virtual System.Xml.Serialization.XmlSerializationWriter CreateWriter ();
abstract member CreateWriter : unit -> System.Xml.Serialization.XmlSerializationWriter
override this.CreateWriter : unit -> System.Xml.Serialization.XmlSerializationWriter
Protected Overridable Function CreateWriter () As XmlSerializationWriter
Returns
An instance that implements the XmlSerializationWriter class.
Exceptions
Any attempt is made to access the method when the method is not overridden in a descendant class.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.