Reflection.Serialize Method
Serializes an object of the specified type to a byte array of data.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in microsoft.spot.native.dll)
Syntax
[MethodImplAttribute]
public static byte [] Serialize (
Objecto,
Typet
)
Parameters
- o
The object you want to serialize. - t
The type of the object you want to serialize. This parameter can be a null reference.
Return Value
A byte array containing data that represents the serialized object.
Version Information
Available in .NET Micro Framework version 2.0, 2.5
See Also
Reference
Reflection Class
Reflection Members
Microsoft.SPOT Namespace