IDebugManagedObject::SetFromManagedObject

Sets the value of the instance of the value class object from the instance of the value class provided as a parameter.

Syntax

HRESULT SetFromManagedObject( 
   IUnknown* pManagedObject
);
int SetFromManagedObject(
   object pManagedObject
);

Parameters

pManagedObject
[in] An interface that represents the managed object containing the new value.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

This method is used to change the managed object as represented by the IDebugManagedObject object.

See also