NSPredicateSupport_NSSet.FilterUsingPredicate(NSSet, NSPredicate) 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.
Returns a new set that contains the elements that match the predicate.
[Foundation.Export("filteredSetUsingPredicate:")]
public static Foundation.NSSet FilterUsingPredicate (this Foundation.NSSet This, Foundation.NSPredicate predicate);
static member FilterUsingPredicate : Foundation.NSSet * Foundation.NSPredicate -> Foundation.NSSet
Parameters
- This
- NSSet
The nsset on which the predicate will run.
- predicate
- NSPredicate
The predicate used to filter the elements of the set.
Returns
A new immutable set.
- Attributes