Edytuj

Udostępnij za pośrednictwem


CLSDataStore.FindContextsMatching Method

Definition

Overloads

FindContextsMatching(String[], Action<CLSContext[],NSError>)

Passes the contexts identifed by a set of identifier paths to a handler.

FindContextsMatching(NSPredicate, Action<CLSContext[],NSError>)

Searches for a context that matches the supplied predicate and passes it to a handler when the operation completes.

FindContextsMatching(String[], Action<CLSContext[],NSError>)

Passes the contexts identifed by a set of identifier paths to a handler.

[Foundation.Export("contextsMatchingIdentifierPath:completion:")]
public virtual void FindContextsMatching (string[] identifierPath, Action<ClassKit.CLSContext[],Foundation.NSError> completion);
abstract member FindContextsMatching : string[] * Action<ClassKit.CLSContext[], Foundation.NSError> -> unit
override this.FindContextsMatching : string[] * Action<ClassKit.CLSContext[], Foundation.NSError> -> unit

Parameters

identifierPath
String[]

The identifier paths for the contexts to find.

completion
Action<CLSContext[],NSError>

A handler that receives the results of the search.

Attributes

Applies to

FindContextsMatching(NSPredicate, Action<CLSContext[],NSError>)

Searches for a context that matches the supplied predicate and passes it to a handler when the operation completes.

[Foundation.Export("contextsMatchingPredicate:completion:")]
public virtual void FindContextsMatching (Foundation.NSPredicate predicate, Action<ClassKit.CLSContext[],Foundation.NSError> completion);
abstract member FindContextsMatching : Foundation.NSPredicate * Action<ClassKit.CLSContext[], Foundation.NSError> -> unit
override this.FindContextsMatching : Foundation.NSPredicate * Action<ClassKit.CLSContext[], Foundation.NSError> -> unit

Parameters

predicate
NSPredicate

The search predicate.

completion
Action<CLSContext[],NSError>

A handler that receives the results of the search.

Attributes

Applies to