MonobjcMonobjc Documented Class Library
PredicateWithValue Method (value)
NamespacesMonobjc.FoundationNSPredicatePredicateWithValue(Boolean)

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.

Declaration Syntax
C#Visual BasicVisual C++
public static NSPredicate PredicateWithValue(
	bool value
)
Public Shared Function PredicateWithValue ( _
	value As Boolean _
) As NSPredicate
public:
static NSPredicate^ PredicateWithValue(
	bool value
)
Parameters
value (Boolean)
The value to which the new predicate should evaluate.
Return Value
A predicate that always evaluates to value.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)