Serializes an object into an XML string variable for easy 'manual' serialization
public static bool SerializeObject(object instance, ref string xmlResultString)
Return Value
true or false
Parameters
instance
object to serialize
xmlResultString
resulting XML string passed as an out parameter
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, bool throwExceptions)
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