/
PropertyComparator Enum

PropertyComparator Enum

Specifies logical comparators used to compare property values.


public enum PropertyComparator

Fields

Equals

0

Supplied value is equal to the database value.

NotEquals

1

Supplied value is not equal to the database value.

Contains

2

Supplied value contains the database value.

GreaterThan

3

Supplied value is greater than the database value.

GreaterThanOrEqualTo

4

Supplied value is greater than or equal to the database value.

LessThan

5

Supplied value is less than the database value.

LessThanOrEqualTo

6

Supplied value is less than or equal to the database value.


Example

The following example demonstrates passing a PropertyComparator to the GetProcessesByProperty method.

var processes = Database.GetProcessesByProperty("Name", "John", PropertyComparator.Equals);

Related content

PropertyFilter Class
PropertyFilter Class
More like this
QueryOperator Enum
QueryOperator Enum
More like this
PropertyFilter(string, string, PropertyComparator) Constructor
PropertyFilter(string, string, PropertyComparator) Constructor
More like this
ProcessType Enum
ProcessType Enum
More like this
ProcessTypeFilter(ProcessType) Constructor
ProcessTypeFilter(ProcessType) Constructor
More like this
GetProcessesByProperty Method
GetProcessesByProperty Method
More like this