共用方式為


SerializationHelpers.SerializeObjectToBinary Method (Object)

 

Serializes an object to its binary byte stream representation.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static byte[] SerializeObjectToBinary(
    object value
)
public:
static array<unsigned char>^ SerializeObjectToBinary(
    Object^ value
)
Public Shared Function SerializeObjectToBinary (
    value As Object
) As Byte()

Parameters

Return Value

Type: System.Byte[]

Serialized object.

See Also

SerializationHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top