Condividi tramite


CimDeserializer.DeserializeClass Method (Byte[], UInt32)

 

Deserializes a CIM class based on serialized data.

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

Syntax

public CimClass DeserializeClass(
    byte[] serializedData,
    ref uint offset
)
public:
CimClass^ DeserializeClass(
    array<unsigned char>^ serializedData,
    unsigned int% offset
)
member DeserializeClass : 
        serializedData:byte[] *
        offset:uint32 byref -> CimClass
Public Function DeserializeClass (
    serializedData As Byte(),
    ByRef offset As UInteger
) As CimClass

Parameters

  • serializedData
    Type: System.Byte[]

    A buffer that contains the serialized data.

  • offset
    Type: System.UInt32

    The byte offset to the location at which to begin reading the data. When the method returns, the offset will be pointing to the next byte after the deserialized class.

Return Value

Type: Microsoft.Management.Infrastructure.CimClass

The CIM class.

See Also

DeserializeClass Overload
CimDeserializer Class
Microsoft.Management.Infrastructure.Serialization Namespace

Return to top