Share via


CimSerializer.Serialize Method (CimClass, ClassSerializationOptions)

 

Serializes a CIM class.

Namespace:   Microsoft.Management.Infrastructure.Serialization
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public byte[] Serialize(
    CimClass cimClass,
    ClassSerializationOptions options
)
public:
array<unsigned char>^ Serialize(
    CimClass^ cimClass,
    ClassSerializationOptions options
)
member Serialize : 
        cimClass:CimClass *
        options:ClassSerializationOptions -> byte[]
Public Function Serialize (
    cimClass As CimClass,
    options As ClassSerializationOptions
) As Byte()

Parameters

Return Value

Type: System.Byte[]

The returned serialized data.

See Also

Serialize Overload
CimSerializer Class
Microsoft.Management.Infrastructure.Serialization Namespace

Return to top