Open sandboxFocus

Method SerializeObject

SerializeObject(object, IArgumentsWriter, IArgumentsWriter)

Serializes an object

Declaration
void SerializeObject(object obj, IArgumentsWriter constructorArguments, IArgumentsWriter initializationArguments)
Parameters
Type Name Description
object obj
IArgumentsWriter constructorArguments

Gives access to arguments that will be passed to the CreateInstance(Type, IArgumentsReader) method during deserialization.

IArgumentsWriter initializationArguments

Gives access to arguments that will be passed to the DeserializeFields(ref object, IArgumentsReader) method during deserialization.