Επεξεργασία

Κοινή χρήση μέσω


XmlSerializer.CreateWriter Method

Definition

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