INSPredicateValidating.VisitExpression(NSExpression, NSError) Method
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.
Validates whether the specified expression is allowed to be evaluated.
[Foundation.Export("visitExpression:error:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool VisitExpression(Foundation.NSExpression expression, out Foundation.NSError? error);
[<Foundation.Export("visitExpression:error:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member VisitExpression : Foundation.NSExpression * NSError -> bool
override this.VisitExpression : Foundation.NSExpression * NSError -> bool
Parameters
- expression
- NSExpression
The NSExpression to validate.
- error
- NSError
When this method returns false, contains an NSError describing why the expression was rejected; otherwise, null.
Returns
true if the expression is valid and allowed; otherwise, false.
- Attributes