XmlSerializationReader.ReadSerializable Method (IXmlSerializable)


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.

Populates an object from its XML representation at the current location of the XmlReader.

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

protected IXmlSerializable ReadSerializable(
	IXmlSerializable serializable


Type: System.Xml.Serialization.IXmlSerializable

An IXmlSerializable that corresponds to the current position of the XmlReader.

Return Value

Type: System.Xml.Serialization.IXmlSerializable

An object that implements the IXmlSerializable interface with its members populated from the location of the XmlReader.

The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

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