NSPredicateSupport_NSMutableArray.FilterUsingPredicate Method

Definition

Filters the element of the array in place, by keeping only the elements that match.

[Foundation.Export("filterUsingPredicate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void FilterUsingPredicate(this Foundation.NSMutableArray This, Foundation.NSPredicate predicate);
[<Foundation.Export("filterUsingPredicate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FilterUsingPredicate : Foundation.NSMutableArray * Foundation.NSPredicate -> unit

Parameters

This
NSMutableArray

The instance on which this method operates.

predicate
NSPredicate

The predicate used to filter the elements of the array.

Attributes

Applies to