NSPredicateSupport_NSSet.FilterUsingPredicate(NSSet, NSPredicate) Method

Definition

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

Applies to