Compartilhar via


IDebugObject::SetReferenceValue

Sets the reference value of this object.

HRESULT SetReferenceValue( 
   IDebugObject* pObject
);
int SetReferenceValue(
   [In] IDebugObject pObject
);

Parameters

  • pObject
    [in] An IDebugObject object representing the new reference value.

Return Value

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

Remarks

This method makes this IDebugObject object a reference to the value of the object given in the pObject parameter, throwing away any previous reference. Note that this IDebugObject object must already be a reference type.

See Also

Reference

IDebugObject

IDebugObject::GetValue