Share via


CimDeserializer.DeserializeInstance Method (Byte[], UInt32, IEnumerable<CimClass>)

 

Deserializes a CIM class based on serialized data and a collection of CIM classes.

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

Syntax

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

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 instance.

Return Value

Type: Microsoft.Management.Infrastructure.CimInstance

The CIM instance.

See Also

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

Return to top