This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLSerializer Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control the XML serialization and deserialization of objects.
The XMLSerializer interface allows you to serialize and deserialize objects. The Serializer will call an instance of the private SerializeData and QI the objects for IXMLSerialize and call Serialize. Once the serialization is complete you ask the SerializeData to write the properties it holds using XMLWriter. The Deserialization is the opposite process and uses XMLReader.
Description | ||
---|---|---|
LoadFromString | Loads an object from an XML string. | |
ReadObject | Reads an object from XML. | |
ReadObjectByType | Reads an object from XML given an XML type. | |
SaveToString | Saves an object to an XML string. | |
WriteObject | Writes an object as XML. |
CoClasses and Classes | Description |
---|---|
XMLSerializer | An XML serializer and deserializer of objects. |
The IXmlSerializer interface provides five methods to use for object serialization and deserialization. The WriteObject method writes an object as XML while ReadObject method reads an object from XML. The LoadFromString method loads an object from an XML string, while SaveToString method saves an object as an XML string. The ReadObjectType method reads an object from XML given an XML type.
IXMLWriter Interface | IXMLReader Interface | IXMLSerializer Interface | IXMLStream Interface | IXMLWriter Interface | IXMLStream Interface | IXMLReader Interface | IXMLSerialize Interface