XmlSerializer.CreateReader Method

Definition

Returns an object used to read the XML document to be serialized.

protected:
 virtual System::Xml::Serialization::XmlSerializationReader ^ CreateReader();
protected virtual System.Xml.Serialization.XmlSerializationReader CreateReader ();
abstract member CreateReader : unit -> System.Xml.Serialization.XmlSerializationReader
override this.CreateReader : unit -> System.Xml.Serialization.XmlSerializationReader
Protected Overridable Function CreateReader () As XmlSerializationReader

Returns

XmlSerializationReader

An XmlSerializationReader used to read the XML document.

Exceptions

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

Applies to