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)
See also:
Class SerializationUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic