Share via


CSimpleRow::Compare

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

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

Reference

CSimpleRow Class

CSimpleRow::ReleaseRow

IRowsetImpl::RefRows