Partager via


CSimpleRow::Compare

 

The latest version of this topic can be found at CSimpleRow::Compare.

Compares two rows to see if they refer to the same row instance.

Syntax

  
      HRESULT Compare(   
   CSimpleRow* pRow    
);  

Parameters

pRow
A pointer to a CSimpleRow object.

Return Value

An HRESULT value, usually S_OK, indicating the two rows are the same row instance, or S_FALSE, indicating the two rows are different. See IRowsetIdentity::IsSameRow in the OLE DB Programmer's Reference for other possible return values.

Requirements

Header: atldb.h

See Also

CSimpleRow Class
CSimpleRow::ReleaseRow
IRowsetImpl::RefRows