Uredi

Deli z drugimi prek


XElement.IXmlSerializable.ReadXml(XmlReader) Method

Definition

Generates an object from its XML representation.

 virtual void System.Xml.Serialization.IXmlSerializable.ReadXml(System::Xml::XmlReader ^ reader) = System::Xml::Serialization::IXmlSerializable::ReadXml;
void IXmlSerializable.ReadXml (System.Xml.XmlReader reader);
abstract member System.Xml.Serialization.IXmlSerializable.ReadXml : System.Xml.XmlReader -> unit
override this.System.Xml.Serialization.IXmlSerializable.ReadXml : System.Xml.XmlReader -> unit
Sub ReadXml (reader As XmlReader) Implements IXmlSerializable.ReadXml

Parameters

reader
XmlReader

The XmlReader from which the object is deserialized.

Implements

Remarks

This method is part of implementation of the IXmlSerializable interface.

This method is used internally for serializing object graphs that contain LINQ to XML objects. For an example of serializing an object graph that contains LINQ to XML objects, see Serialize object graphs that contain XElement objects.

Applies to