Click or drag to resize

Serialization Methods

The Serialization type exposes the following members.

Methods
  Name Description
Public method Static member CloneObjectT Obsolete.
Creates a clone of a serializable object.
Public method Static member DeserializeT(Byte, SerializationFormat) Deserializes a serialized Object.
Public method Static member DeserializeT(Stream, SerializationFormat) Deserializes a serialized Object.
Public method Static member GetBytes Obsolete.
Performs binary serialization on the serializable object and returns the output as byte array.
Public method Static member GetObject(Byte) Obsolete.
Performs binary deserialization on the byte array and returns the object for it.
Public method Static member GetObjectT(Byte) Obsolete.
Performs binary deserialization on the byte array and returns the typed object for it.
Public method Static member GetObjectT(String) Obsolete.
Performs XML deserialization on the XML string and returns the typed object for it.
Public Extension Method GetOrDefaultT Gets SerializationInfo value for specified name; otherwise defaultValue.
Public method Static member GetStream Obsolete.
Performs binary serialization on the serializable object and returns the serialized object as a stream.
Public method Static member GetString Obsolete.
Performs XML serialization on the serializable object and returns the output as string.
Public Extension Method GetValues Gets values of a SerializationInfo instance compatible with Linq operations.
Public method Static member SerializeT(T, SerializationFormat) Serializes an Object.
Public method Static member SerializeT(T, SerializationFormat, Stream) Serializes an Object.
Public method Static member TryDeserializeT(Byte, SerializationFormat, T) Attempts to deserialize a serialized Object.
Public method Static member TryDeserializeT(Stream, SerializationFormat, T) Attempts to deserialize a serialized Object.
Public method Static member TryGetObject(Byte, Object) Obsolete.
Attempts binary deserialization on the byte array and returns the typed object for it.
Public method Static member TryGetObjectT(Byte, T) Obsolete.
Attempts binary deserialization on the byte array and returns the typed object for it.
Public method Static member TryGetObjectT(String, T) Obsolete.
Attempts XML deserialization on the XML string and returns the typed object for it.
Top
See Also