MatchType MatchType MatchType MatchType Enum

定义

MatchType 枚举指定搜索中使用的比较类型。The MatchType enumeration specifies the type of comparison used in a search.

public enum class MatchType
public enum MatchType
type MatchType = 
Public Enum MatchType
继承

字段

Equals Equals Equals Equals 0

搜索结果包括的值等于提供的值。The search results include values that equal the supplied value. 如果提供的值指定一个日期和时间,则返回的集合包括具有相同日期和时间的对象。If the supplied value specifies a date and time, the returned collection includes objects that have the same date and time.

GreaterThan GreaterThan GreaterThan GreaterThan 2

搜索结果包括的值大于提供的值。The search results include values that are greater than the supplied value. 如果提供的值指定一个日期和时间,则返回的集合包括日期在指定日期和时间之后的对象。If the supplied value specifies a date and time, the returned collection includes objects that are dated after the specified date and time.

GreaterThanOrEquals GreaterThanOrEquals GreaterThanOrEquals GreaterThanOrEquals 3

搜索结果包括的值大于或等于提供的值。The search results include values that are greater than or equal to the supplied value. 如果提供的值指定一个日期和时间,则返回的集合包括日期为指定日期和时间或指定日期和时间之后的对象。If the supplied value specifies a date and time, the returned collection includes objects that are dated on or after the specified date and time.

LessThan LessThan LessThan LessThan 4

搜索结果包括的值小于提供的值。The search results include values that are less than the supplied value. 如果提供的值指定一个日期和时间,则返回的集合包括日期在指定日期和时间之前的对象。If the supplied value specifies a date and time, the returned collection includes objects that are dated prior to the specified date and time.

LessThanOrEquals LessThanOrEquals LessThanOrEquals LessThanOrEquals 5

搜索结果包括的值小于或等于提供的值。The search results include values that are less than or equal to the supplied value. 如果提供的值指定一个日期和时间,则返回的集合包括日期为指定日期和时间或指定日期和时间之前的对象。If the supplied value specifies a date and time, the returned collection includes objects that are dated prior to or on the specified date and time.

NotEquals NotEquals NotEquals NotEquals 1

搜索结果包括的值不等于提供的值。The search results include values that are not equal to the supplied value. 如果提供的值指定一个日期和时间,则返回的集合包括的对象不包括指定的日期和时间。If the supplied value specifies a date and time, the returned collection includes objects that do not include the specified date and time.

适用于