public static bool SerializeObject(object instance, ref string xmlResultString, bool throwExceptions);
xmlResultString Out parm that holds resulting XML string
throwExceptions If true causes exceptions rather than returning false