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