DataContractSerializer.Serialize Method |
Serializes an object into a byte array.
Namespace: PostSharp.Patterns.Caching.Serializers
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public byte[] Serialize( Object value )
Parameters
- value
- Type: System.Object
The object to serialize.
Return Value
Type: Byte[]A byte array representing value.