FilterCriteria

FilterCriteria class

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

Methods

NameDescription
get_CriteriaRowsGets 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.
get_FieldGets a Field to change.
get_OperationGets the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
get_TestGets the type of comparison made between FieldName and Value that acts as selection criteria for the filter. FilterComparisonType
get_ValuesGets the object values to compare with the value of the field specified with FieldName.
IsFieldValueGets whether the right-hand value of FilterCriteria is a field reference, not a constant value.
set_FieldSets a Field to change.
set_OperationSets the criterion established with FieldName, Test, and Value relates to other criteria in the filter.
set_TestSets the type of comparison made between FieldName and Value that acts as selection criteria for the filter. FilterComparisonType
SetValueFieldSets the field whose value will be compared with the value of the field specified by FieldName.
ToStringReturns string representation of the instance of the FilterCriteria class.