Open sandboxFocus

Method SerializeObject

SerializeObject(object, IArgumentsWriter, IArgumentsWriter)

Serializes an object.

Declaration
public override sealed 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(object, IArgumentsReader) method during deserialization.

Overrides

SerializeObject(T, IArgumentsWriter, IArgumentsWriter)

Declaration
public abstract void SerializeObject(T obj, IArgumentsWriter constructorArguments, IArgumentsWriter initializationArguments)
Parameters
Type Name Description
T obj
IArgumentsWriter constructorArguments
IArgumentsWriter initializationArguments