Version

ComparisonOperator Enumeration

Enum describing operators which can be used for filtering.
Syntax
'Declaration
 
Public Enum ComparisonOperator 
   Inherits System.Enum
public enum ComparisonOperator : System.Enum 
Members
MemberDescription
ContainsEvaluates if a string contains a compared value. With string values, a case sensitivity flag may effect the result.
DateTimeAfterEvaluates if a DateTime object comes after a given input.
DateTimeAprilEvaluates that a DateTime is in April.
DateTimeAugustEvaluates that a DateTime is in August.
DateTimeBeforeEvaluates if a DateTime object comes prior to a given input.
DateTimeDecemberEvaluates that a DateTime is in December.
DateTimeFebruaryEvaluates that a DateTime is in February.
DateTimeJanuaryEvaluates that a DateTime is in January.
DateTimeJulyEvaluates that a DateTime is in July.
DateTimeJuneEvaluates that a DateTime is in June.
DateTimeLastMonthEvaluates if a DateTime value is in last month.
DateTimeLastQuarterEvaluates if a DateTime value is in the last quarter.
DateTimeLastWeekEvaluates if a DateTime value is in last week.
DateTimeLastYearEvaluates if a DateTime value is in last year.
DateTimeMarchEvaluates that a DateTime is in March.
DateTimeMayEvaluates that a DateTime is in May.
DateTimeNextMonthEvaluates if a DateTime value is in next month.
DateTimeNextQuarterEvaluates if a DateTime value is in the next quarter.
DateTimeNextWeekEvaluates if a DateTime value is in next week.
DateTimeNextYearEvaluates if a DateTime value is in next year.
DateTimeNovemberEvaluates that a DateTime is in November.
DateTimeOctoberEvaluates that a DateTime is in October.
DateTimeQuarter1Evaluates that a DateTime is in the first quarter.
DateTimeQuarter2Evaluates that a DateTime is in the second quarter.
DateTimeQuarter3Evaluates that a DateTime is in the third quarter.
DateTimeQuarter4Evaluates that a DateTime is in the forth quarter.
DateTimeSeptemberEvaluates that a DateTime is in Sepember.
DateTimeThisMonthEvaluates if a DateTime value is in this month.
DateTimeThisQuarterEvaluates if a DateTime value is in this quarter.
DateTimeThisWeekEvaluates if a DateTime value is in this week.
DateTimeThisYearEvaluates if a DateTime value is in this year.
DateTimeTodayEvaluates if a DateTime value is today.
DateTimeTomorrowEvaluates if a DateTime value is tomorrow.
DateTimeYearToDateEvaluates if a DateTime value is in the current year up to today's date.
DateTimeYesterdayEvaluates if a DateTime value is yesterday.
DoesNotContainEvaluates if a string does not contain a compared value. With string values, a case sensitivity flag may effect the result.
DoesNotEndWithEvaluates if a string does not end with a compared value. With string values, a case sensitivity flag may effect the result.
DoesNotStartWithEvaluates if a string does not begin with a compared value. With string values, a case sensitivity flag may effect the result.
EndsWithEvaluates if a string ends with a compared value. With string values, a case sensitivity flag may effect the result.
EqualsAn equality compare is executed. With string values, a case sensitivity flag may effect the result.
GreaterThanA GreaterThan compare is executed. With string values, a case sensitivity flag may effect the result.
GreaterThanOrEqualA greater than or equal compare is executed. With string values, a case sensitivity flag may effect the result.
InOperandEvaluates that a value is in the list provided as FilterValue.
LessThanA less than compare is executed. With string values, a case sensitivity flag may effect the result.
LessThanOrEqualA less than or equal compare is executed. With string values, a case sensitivity flag may effect the result.
NotEqualsAn non equality compare is executed. With string values, a case sensitivity flag may effect the result.
StartsWithEvaluates if a string begins with a compared value. With string values, a case sensitivity flag may effect the result.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also