Using Late-Bound Parameter Literals

A late-bound parameter literal (::name operand) can be used in filter queries to assign a late bound parameter to the expression.

The name parameter must be provided as part of the “parameter” array in the QueryOptions element, which is passed as part of an executeGenericQueryRequest or executeRegisteredGenericQueryRequest message.

Late-bound parameters are useful when repeatedly executing the same query many times with different values. Using executeRegisteredGenericQuery with late-bound parameters means that the filter will be parsed once, then executed many times with the different values.