Deserialize Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Deserializes a byte array of data into an object of the specified type.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public Shared Function Deserialize ( _
v As Byte(), _
t As Type _
) As Object
public static Object Deserialize(
byte[] v,
Type t
)
public:
static Object^ Deserialize(
array<unsigned char>^ v,
Type^ t
)
static member Deserialize :
v:byte[] *
t:Type -> Object
public static function Deserialize(
v : byte[],
t : Type
) : Object
Parameters
- v
Type: array<System. . :: . .Byte> [] () [] []
A byte array containing data that represents the serialized object.
- t
Type: System. . :: . .Type
The type of the object to be deserialized. This should be nullNothingnullptrunita null reference (Nothing in Visual Basic) if the array in the v parameter contains that type.
Return Value
Type: System. . :: . .Object
The deserialized object represented by the byte array.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.