CimDeserializer.DeserializeClass Method (Byte[], UInt32, CimClass)
Deserializes a CIM class based on serialized data and a parent class.
Namespace: Microsoft.Management.Infrastructure.Serialization
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public CimClass DeserializeClass(
byte[] serializedData,
ref uint offset,
CimClass parentClass
)
public:
CimClass^ DeserializeClass(
array<unsigned char>^ serializedData,
unsigned int% offset,
CimClass^ parentClass
)
member DeserializeClass :
serializedData:byte[] *
offset:uint32 byref *
parentClass:CimClass -> CimClass
Public Function DeserializeClass (
serializedData As Byte(),
ByRef offset As UInteger,
parentClass As CimClass
) As CimClass
Parameters
serializedData
Type: System.Byte[]A buffer that contains the serialized data.
offset
Type: System.UInt32The 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.
parentClass
Type: Microsoft.Management.Infrastructure.CimClassAn optional parent 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