SerializationUtils.DeSerializeObject

Deserialize an object from an XmlReader object.

public static object DeSerializeObject(string fileName, Type objectType, 
			bool binarySerialization)

Parameters

fileName
name of the file to serialize to

objectType
The Type of the object. Use typeof(yourobject class)

binarySerialization
determines whether we use Xml or Binary serialization

Overloads