Serializes an object instance to a file.
public static bool SerializeObject(object instance, string fileName, bool binarySerialization)
Parameters
instance
the object instance to serialize
fileName
binarySerialization
determines whether XML serialization or binary serialization is used
Overloads:
public static bool SerializeObject(object instance, XmlTextWriter writer, bool throwExceptions)
public static bool SerializeObject(object instance, ref string xmlResultString)
public static bool SerializeObject(object instance, ref string xmlResultString, bool throwExceptions)
See also:
Class SerializationUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic