Provides access to members that control an in-memory XML stream.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
CoClasses that implement IXMLStream
CoClasses and Classes |
Description |
XMLStream |
An in-memory XML stream. |
Remarks
The IXmlStream interface provides seven methods to use for serialization. The LoadFromString method loads data saved as a string from memory while LoadFromFile method loads data saved as a file e.g. file path\foo.xml. The LoadFromBytes method loads data saved as from a UTF-8 byte array, while SaveToString method saves object as a string to memory. The SaveToFile method saves object stream as a file e.g. foo.xml. The SaveToBytes saves object stream as UTF-8 byte array, while Reset method resets the stream to the beginning.
.NET Snippets
Deserialize an XML File |
Serialize an XML File