NSFetchRequestExpression.FromFetch 方法

定义

NSFetchRequestExpression从指定的表达式和上下文创建新的 。

[Foundation.Export("expressionForFetch:context:countOnly:")]
public static CoreData.NSFetchRequestExpression FromFetch (Foundation.NSExpression fetch, Foundation.NSExpression context, bool countOnly);
static member FromFetch : Foundation.NSExpression * Foundation.NSExpression * bool -> CoreData.NSFetchRequestExpression

参数

fetch
NSExpression

要从中创建新的提取请求表达式的表达式。

context
NSExpression

要在其中创建提取请求表达式的上下文。

countOnly
Boolean

是否创建对匹配项进行计数而不是返回匹配项的提取请求表达式。

返回

从指定的表达式和上下文创建的新 NSFetchRequestExpression

属性

适用于