Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IFilterClause.AddStatement Method (Field, Operator, Int32)

Adds an int constraint to this clause.

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

Parameters

field
Field to search. Field must return int values, e.g. PortalField.OBJECT_ID. 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
int 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