編輯

共用方式為


MatchType Enum

Definition

The MatchType enumeration specifies the type of comparison used in a search.

public enum class MatchType
public enum MatchType
type MatchType = 
Public Enum MatchType
Inheritance
MatchType

Fields

Name Value Description
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.

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.

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 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 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 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.

Applies to