FilterCompareOperator Enumeration

Bing
 

An enumeration that defines how to compare the filters value against the corresponding property value.

NameString OperatorDescription
endsWithendsWithDetermines if a string value ends with a specified string value
equalseqDetermines if two values are equal.
greaterThangtDetermines if a first value is greater than a second value.
greaterThanOrEqualgeDetermines if a first value is greater than or equal to a second value.
isIninDetermines if a value is within an array.
lessThanltDetermines if a first value is less than a second value.
lessThanOrEqualleDetermines if a first value is less than or equal a second value.
notEndsWithnot endsWithDetermines if a string value does not end with a specified string value.
notEqualsneDetermines if two values are not equal.
notStartsWithnot startsWithDetermines if a string value does not start with a specified string value.
startsWithstatrsWithDetermines if a string value starts with a specified string value.

Tip: The string operator version of the enumeration can be used with the Filter class as an alternative to using the enumeration object. This would reduce the amount of code that you would need to write to create a filter, but may make it less clear what the filter does.

Note: If an object type that is not supported by a filter compare operator is used, executing the filter will return false.

Note: The NavteqNA and NavteqEU data sources do not support the endsWith, notEndsWith, notStartsWith, or startsWith filter compare operators.

Show: