JHSerialization Methods

DCSoft.DBUtilityGeneric

JHSerialization Methods

The JHSerialization type exposes the following members.

Methods
  Name Description
Public method Static member ByteDeSerializeTtype
将指定的流反序列化为对象图形,如果反序列化后值为 null,则返回 default(Ttype),异常将直接抛出
Public method Static member ByteSerialize
将对象或具有指定顶级(根)的对象图形序列化为字节数组,异常将直接抛出
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Static member XmlDeSerializeTtype(String)
使用 UTF-8 编码格式,将 XML 格式的字符串反序列化为指定类型的数据,如果反序列化后值为 null,则返回 default(Ttype),异常直接抛出
Public method Static member XmlDeSerializeTtype(String, Encoding)
使用指定的编码格式,将 XML 格式的字符串反序列化为指定类型的数据,如果反序列化后值为 null,则返回 default(Ttype),异常直接抛出
Public method Static member XmlSerialize(Object)
使用 UTF-8 编码格式,将数据对象序列化为 XML 数据格式,异常直接抛出
Public method Static member XmlSerialize(Object, Encoding)
使用指定的编码格式,将数据对象序列化为 XML 数据格式,异常直接抛出
Top
See Also