NMath User's Guide

TOC | Previous | Next | Index

Chapter 36. Serialization (.NET, C#, CSharp, VB, Visual Basic, F#)

NMath data classes are fully persistable using standard .NET mechanisms. All classes implement the ISerializable interface to control their own serialization and deserialization. Common Language Runtime (CLR) serialization Formatter classes call the provided GetObjectData() methods at serialization time to populate SerializationInfo objects with all the data required to represent NMath objects.

This chapter describes how to persist NMath objects in binary, SOAP, and XML formats.