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
cimClass
Type: Microsoft.Management.Infrastructure.CimClassThe CIM class to serialize.
options
Type: Microsoft.Management.Infrastructure.Serialization.ClassSerializationOptionsThe serialization options for the class.
Return Value
Type: System.Byte[]
The returned serialized data.
See Also
Serialize Overload
CimSerializer Class
Microsoft.Management.Infrastructure.Serialization Namespace
Return to top