Creates and returns a predicate that evaluates using a specified block object and bindings dictionary.
Original signature is '+ (NSPredicate *)predicateWithBlock:(BOOL (^)(id evaluatedObject, NSDictionary *bindings))block'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSPredicate PredicateWithBlock( Func<Id, NSDictionary, bool> block )
Public Shared Function PredicateWithBlock ( _ block As Func(Of Id, NSDictionary, Boolean) _ ) As NSPredicate
public: static NSPredicate^ PredicateWithBlock( Func<Id^, NSDictionary^, bool>^ block )
Parameters
- block (Func<(Of <(<'Id, NSDictionary, Boolean>)>)>)
- The block is applied to the object to be evaluated.
Return Value
A new predicate by that evaluates objects using block.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)