DataBookCursorSetSexpFunc


Description:

[ CCode ( has_target = false ) ]
[ Version ( since = "3.12" ) ]
public delegate bool DataBookCursorSetSexpFunc (DataBookCursor cursor, string? sexp) throws Error

Method type for EDataBookCursorClass.set_sexp

A cursor implementation must implement this in order to modify the search expression for cursor. After this is called, the position and total will be recalculated.

If the cursor implementation is unable to deal with the ContactField s referred to in sexp, then an e_client_error_invalid_query error should be set to indicate this.

Parameters:

cursor

an DataBookCursor

sexp

the search expression to set, or null for unfiltered results

Returns:

true on Success, otherwise false is returned if any error occurred and throws is set to reflect the error which occurred.


Namespace: E