Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSComparisonPredicateMBS class.

NSComparisonPredicateMBS.comparisonPredicateModifier as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the comparison predicate modifier for the receiver.

Available in Mac OS X v10.4 and later.
The default value is NSDirectPredicateModifier.

NSComparisonPredicateMBS.Constructor(LeftExpression as NSExpressionMBS, rightExpression as NSExpressionMBS, modifier as UInt32, type as UInt32, options as UInt32)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes a predicate to a given type formed by combining given left and right expressions using a given modifier and options.
Example
dim n1 as NSExpressionMBS = NSExpressionMBS.expressionForConstantValue(4)
dim n2 as NSExpressionMBS = NSExpressionMBS.expressionForConstantValue(9)

dim modifier as Integer = NSComparisonPredicateMBS.NSDirectPredicateModifier
dim type as Integer = NSComparisonPredicateMBS.NSGreaterThanPredicateOperatorType
dim options as Integer = 0

dim c as new NSComparisonPredicateMBS(n1, n2, Modifier, type, options)

MsgBox c.predicateFormat

LeftExpression: The left hand expression.
rightExpression: The right hand expression.
modifier: The modifier to apply.
type: The predicate operator type.
options: The options to apply (see constants). For no options, pass 0.

The receiver, initialized to a predicate of type type formed by combining the left and right expressions using the modifier and options.
Available in Mac OS X v10.4 and later.

NSComparisonPredicateMBS.leftExpression as NSExpressionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the left expression for the receiver, or nil if there is none.

NSComparisonPredicateMBS.options as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the options that are set for the receiver.

NSComparisonPredicateMBS.predicateOperatorType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the predicate type for the receiver.

NSComparisonPredicateMBS.rightExpression as NSExpressionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the right expression for the receiver, or nil if there is none.

The items on this page are in the following plugins: MBS MacCloud Plugin.


The biggest plugin in space...