Serializes an object to a binary array.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function BinarySerialize( _
ByVal obj As Object _
) As Byte() |
Visual Basic (Usage) | Copy Code |
---|
Dim obj As Object
Dim value() As Byte
value = AddInUtils.BinarySerialize(obj)
|
C++/CLI | |
---|
public:
static array<byte>^ BinarySerialize(
Object^ obj
) |
Parameters
- obj
- The object to serialize.
Return Value
The byte array of the serialize object data.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also