PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / Value­Type­Serializer(T) Class / Value­Type­Serializer(T) Methods / Value­Type­Serializer(T).​Serialize­Object Method

ValueTypeSerializer<T>.SerializeObject Method

Serializes an object

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public abstract void SerializeObject(
	T obj,
	IArgumentsWriter constructorArguments
)

Parameters

obj
Type: T
constructorArguments
Type: PostSharp.Serialization.IArgumentsWriter
Gives access to arguments that will be passed to the DeserializeObject(IArgumentsReader) method during deserialization.
See Also