cursor_compare_contact


Description:

public int cursor_compare_contact (BookCacheCursor cursor, Contact contact, out bool out_matches_sexp)

Compares contact with cursor and returns whether contact is less than, equal to, or greater than cursor.

Parameters:

this

An BookCache

cursor

The BookCacheCursor

contact

The Contact to compare

out_matches_sexp

Whether the contact matches the cursor's search expression

Returns:

A value that is less than, equal to, or greater than zero if contact is found, respectively, to be less than, to match, or be greater than the current value of cursor.