NSFetchRequestExpression.FromFetch 方法

定義

從指定的表達式和上下文中建立一個新的 NSFetchRequestExpression

[Foundation.Export("expressionForFetch:context:countOnly:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreData.NSFetchRequestExpression FromFetch(Foundation.NSExpression fetch, Foundation.NSExpression context, bool countOnly);
[<Foundation.Export("expressionForFetch:context:countOnly:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromFetch : Foundation.NSExpression * Foundation.NSExpression * bool -> CoreData.NSFetchRequestExpression

參數

fetch
NSExpression

用來建立新的 fetch request 表達式。

context
NSExpression

建立擷取請求表達式的上下文。

countOnly
Boolean

是否應該建立一個計算配對數的取回請求式,而不是回傳。

傳回

一個 NSFetchRequestExpression 由指定的表達式和情境創造出來的新內容。

屬性

適用於