Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IFilterClause.AddStatement Method (Field, Operator, Boolean)

Adds a bool constraint to this clause.

void AddStatement(
   Field field,
   Operator op,
   bool value
);

Parameters

field
Field to search. Field must return bool values. Adding a field of the wrong type may cause an exception on the search server.
op
constraint operator, e.g. Operator.Equals or Operator.GreaterThan
value
bool value to evaluate

Remarks

The field must be searchable.

Exceptions

Exception Type Condition
ArgumentException if field is not searchable

See Also

IFilterClause Interface | Plumtree.Remote.PRC.Search Namespace | IFilterClause.AddStatement Overload List