Interface XMLSerializer

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll

An XML serializer and deserializer of objects.

[Guid("DEA199D0-371C-4955-844C-B67705E1EDB2")]
public interface XMLSerializer : IXMLSerializer
Inherited Members

Remarks


XML Serialization is the process of converting an object's public properties and fields to a serial format (XML) for storage or transport. In other words, Serialization is a way of saving the state of an object into a Stream or buffer.

Use the XMLSerializer coclass when you wish 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. Using XMLStream will allow you to save the objects. The Deserialization is the opposite process and uses XMLReader .

See the IXMLSerializer interface for more on getting information about serialization of objects.