CreateReader Method

XmlSerializer.CreateReader Method ()


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

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

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

abstract CreateReader : unit -> XmlSerializationReader
override CreateReader : unit -> XmlSerializationReader

Return Value

Type: System.Xml.Serialization.XmlSerializationReader

An XmlSerializationReader used to read the XML document.

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
© 2016 Microsoft