FilterCriteria

FilterCriteria class

Defines the criteria that tasks or resources must meet to be displayed in MSP view.

The FilterCriteria type exposes the following members:

Constructors

NameDescription
FilterCriteria()Initializes a new instance of the FilterCriteria class

Properties

NameDescription
operationGets or sets the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
fieldGets or sets a field to change.
testGets or sets the type of comparison made between FieldName and Value that acts as selection criteria for the filter.
FilterComparisonType
valuesGets the object values to compare with the value of the field specified with FieldName.
criteria_rowsGets the list of child FilterCriteria rows.
If the filter contains more than one criterion row then the effect of an And operator is that the criteria for both rows must be met for the task or resource to be displayed as a result of this filter.
The effect of an Or operator is that the criteria for one or the other row must be met.

Methods

NameDescription
is_field_value()Gets whether the right-hand value of FilterCriteria is a field reference, not a constant value.
set_value_field(value)Sets the field whose value will be compared with the value of the field specified by FieldName.

See Also