VistaDB 5

The other key row to compare with
CompareKey Method
Compare with another key row including their RowId values if necessary.
Function CompareKey( _
   ByVal key As IVistaDBRow _
) As System.Integer
Dim instance As IVistaDBRow
Dim key As IVistaDBRow
Dim value As System.Integer
value = instance.CompareKey(key) CompareKey( 
   IVistaDBRow key
function CompareKey( 
    key: IVistaDBRow
): System.Integer; 
function CompareKey( 
   key : IVistaDBRow
) :; CompareKey( 
   IVistaDBRow* key
) CompareKey( 
   IVistaDBRow^ key


The other key row to compare with

Return Value

Zero if rows are equal, -1 if this row less, or 1 if this row is greater.
Compare with another key row column by column taking ascending column information and RowId into account. The RowId is compared only if all key columns compare as equal (or if there are no key columns such as in a table's storage rowset).

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also