Defines the type of comparison for NSComparisonPredicate.
Available in Mac OS X v10.4 and later.
| C# | Visual Basic | Visual C++ |
public enum NSPredicateOperatorType
Public Enumeration NSPredicateOperatorType
public enum class NSPredicateOperatorType
| Member | Description |
|---|---|
| NSLessThanPredicateOperatorType | A less-than predicate. Available in Mac OS X v10.4 and later. |
| NSLessThanOrEqualToPredicateOperatorType | A less-than-or-equal-to predicate. Available in Mac OS X v10.4 and later. |
| NSGreaterThanPredicateOperatorType | A greater-than predicate. Available in Mac OS X v10.4 and later. |
| NSGreaterThanOrEqualToPredicateOperatorType | A greater-than-or-equal-to predicate. Available in Mac OS X v10.4 and later. |
| NSEqualToPredicateOperatorType | An equal-to predicate. Available in Mac OS X v10.4 and later. |
| NSNotEqualToPredicateOperatorType | A not-equal-to predicate. Available in Mac OS X v10.4 and later. |
| NSMatchesPredicateOperatorType | A full regular expression matching predicate. Available in Mac OS X v10.4 and later. |
| NSLikePredicateOperatorType | A simple subset of the MATCHES predicate, similar in behavior to SQL LIKE. Available in Mac OS X v10.4 and later. |
| NSBeginsWithPredicateOperatorType | A begins-with predicate. Available in Mac OS X v10.4 and later. |
| NSEndsWithPredicateOperatorType | An ends-with predicate. Available in Mac OS X v10.4 and later. |
| NSInPredicateOperatorType | A predicate to determine if the left hand side is in the right hand side. For strings, returns YES if the left hand side is a substring of the right hand side . For collections, returns YES if the left hand side is in the right hand side . Available in Mac OS X v10.4 and later. |
| NSCustomSelectorPredicateOperatorType | A predicate that uses a custom selector that takes a single argument and returns a BOOL value. The selector is invoked on the left hand side with the right hand side as the argument. Available in Mac OS X v10.4 and later. |
| NSContainsPredicateOperatorType | A predicate to determine if the left hand side contains the right hand side. Returns YES if [lhs contains rhs]; the left hand side must be an NSExpression object that evaluates to a collection Available in Mac OS X v10.5 and later. |
| NSBetweenPredicateOperatorType | A predicate to determine if the right hand side lies at or between bounds specified by the left hand side. Returns YES if [lhs between rhs]; the right hand side must be an array in which the first element sets the lower bound and the second element the upper, inclusive. Comparison is performed using compare: or the class-appropriate equivalent. Available in Mac OS X v10.5 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)