Predicate<T> Delegate
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Represents the method that defines a set of criteria and determines whether the specified object meets those criteria.
Assembly: mscorlib (in mscorlib.dll)
Type Parameters
- in T
The type of the object to compare.
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see [2678dc63-c7f9-4590-9ddc-0a4df684d42e].
Parameters
- obj
- Type: T
The object to compare against the criteria.
Return Value
Type: System::Booleantrue if obj meets the criteria defined within the method represented by this delegate; otherwise, false.