Compartilhar via


IDebugObject::IsEqual

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

Compares an object with this object.

Syntax

HRESULT IsEqual( 
   IDebugObject* pObject,
   BOOL*         pfIsEqual
);
int IsEqual(
   IDebugObject pObject,
   out int      pfIsEqual
);

Parameters

pObject
[in] An IDebugObject object representing the object to compare to.

pfIsEqual
[out] Returns non-zero (TRUE) if the values of the objects are equal; otherwise, returns zero (FALSE).

Return Value

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

Remarks

Typically, this method can compare the addresses of the values represented by the pObject parameter and this IDebugObject object; if the addresses are equal, then the objects can be considered equal.

See also