Share via


NSManagedObjectContext.ExecuteFetchRequest(NSFetchRequest, NSError) Method

Definition

Runs the specified request.

[Foundation.Export("executeFetchRequest:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject[]? ExecuteFetchRequest(CoreData.NSFetchRequest request, out Foundation.NSError error);
[<Foundation.Export("executeFetchRequest:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExecuteFetchRequest : CoreData.NSFetchRequest * NSError -> Foundation.NSObject[]
override this.ExecuteFetchRequest : CoreData.NSFetchRequest * NSError -> Foundation.NSObject[]

Parameters

request
NSFetchRequest
error
NSError

Returns

Attributes

Applies to