Serializes an object into a string variable for easy 'manual' serialization
public static bool SerializeObject(object instance, ref string xmlResultString, bool throwExceptions)
Parameters
instance
xmlResultString
Out parm that holds resulting XML string
throwExceptions
If true causes exceptions rather than returning false
Overloads:
public static bool SerializeObject(object instance, string fileName, bool binarySerialization)
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 Byte[] resultBuffer, bool throwExceptions)
See also:
Class SerializationUtils© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic