Jaa


IDebugManagedObject::SetFromManagedObject

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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