Provides access to members that control an in-memory XML stream.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Members
Description | ||
---|---|---|
LoadFromBytes | Loads from a UTF-8 byte array. | |
LoadFromFile | Loads from a file path. | |
LoadFromString | Loads from a string. | |
Reset | Resets the stream to the beginning. | |
SaveToBytes | Saves to a UTF-8 byte array. | |
SaveToFile | Saves to a file path. | |
SaveToString | Saves to a string. |
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.