Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deserializes CIM classes based on serialized data, and a collection of parent CIM classes.
Namespace: Microsoft.Management.Infrastructure.Serialization
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public IEnumerable<CimClass> DeserializeClasses(
byte[] serializedData,
ref uint offset,
IEnumerable<CimClass> classes
)
public:
IEnumerable<CimClass^>^ DeserializeClasses(
array<unsigned char>^ serializedData,
unsigned int% offset,
IEnumerable<CimClass^>^ classes
)
member DeserializeClasses :
serializedData:byte[] *
offset:uint32 byref *
classes:IEnumerable<CimClass> -> IEnumerable<CimClass>
Public Function DeserializeClasses (
serializedData As Byte(),
ByRef offset As UInteger,
classes As IEnumerable(Of CimClass)
) As IEnumerable(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 classes.
classes
Type: System.Collections.Generic.IEnumerable<CimClass>An optional cache of parent CIM classes.
Return value
Type: System.Collections.Generic.IEnumerable<CimClass>
An IEnumerable<T> interface that can be used to enumerate the CIM classes.
See also
CimClass class
Microsoft.Management.Infrastructure.Serialization namespace