PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Serializers Namespace / Portable­Serializer Class / Portable­Serializer Methods / Portable­Serializer.​Serialize Method

PortableSerializer.Serialize Method

Serializes an object into a byte array.

Namespace:  PostSharp.Patterns.Caching.Serializers
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
public byte[] Serialize(
	Object value
)

Parameters

value
Type: System.Object
The object to serialize.

Return Value

Type: Byte[]
A byte array representing value.

Implements

ISerializer.Serialize(Object)
See Also