MatchType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
.NET