Creates and returns a predicate that always evaluates to a given value.
Original signature is '+ (NSPredicate *)predicateWithValue:(BOOL)value'
Available in Mac OS X v10.4 and later.
| C# | Visual Basic | Visual C++ |
public static NSPredicate PredicateWithValue( bool value )
Public Shared Function PredicateWithValue ( _ value As Boolean _ ) As NSPredicate
public: static NSPredicate^ PredicateWithValue( bool value )
- value (Boolean)
- The value to which the new predicate should evaluate.
A predicate that always evaluates to value.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)