Partager via


CimInstance.GetObjectData Method (SerializationInfo, StreamingContext)

 

Populates a serialization information object with the data needed to serialize the CimInstance object.

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

Syntax

public void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
public:
virtual void GetObjectData(
    SerializationInfo^ info,
    StreamingContext context
) sealed
abstract GetObjectData : 
        info:SerializationInfo *
        context:StreamingContext -> unit
override GetObjectData : 
        info:SerializationInfo *
        context:StreamingContext -> unit
Public Sub GetObjectData (
    info As SerializationInfo,
    context As StreamingContext
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

See Also

CimInstance Class
Microsoft.Management.Infrastructure Namespace

Return to top