System.Runtime.Serialization.Formatters.Binary 命名空间

System.Runtime.Serialization.Formatters.Binary 命名空间包含 BinaryFormatter 类,该类可用于以二进制格式将对象序列化和反序列化。 The System.Runtime.Serialization.Formatters.Binary namespace contains the BinaryFormatter class, which can be used to serialize and deserialize objects in binary format.

BinaryFormatter

以二进制格式序列化和反序列化对象或连接对象的整个图形。Serializes and deserializes an object, or an entire graph of connected objects, in binary format.