CLSDataStore.FindContextsMatching 方法

定义

重载

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

将由一组标识符路径标识的上下文传递给处理程序。

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

搜索与提供的 predicate 匹配的 上下文,并在操作完成时将其传递给处理程序。

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

将由一组标识符路径标识的上下文传递给处理程序。

[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

参数

identifierPath
String[]

要查找的上下文的标识符路径。

completion
Action<CLSContext[],NSError>

接收搜索结果的处理程序。

属性

适用于

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

搜索与提供的 predicate 匹配的 上下文,并在操作完成时将其传递给处理程序。

[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

参数

predicate
NSPredicate

搜索谓词。

completion
Action<CLSContext[],NSError>

接收搜索结果的处理程序。

属性

适用于