Returns an array of objects that meet the criteria specified by a given fetch request.
Original signature is '- (NSArray *)executeFetchRequest:(NSFetchRequest *)request error:(NSError **)error'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public virtual NSArray ExecuteFetchRequestError( NSFetchRequest request, out NSError error )
Public Overridable Function ExecuteFetchRequestError ( _ request As NSFetchRequest, _ <OutAttribute> ByRef error As NSError _ ) As NSArray
public: virtual NSArray^ ExecuteFetchRequestError( NSFetchRequest^ request, [OutAttribute] NSError^% error )

- request (NSFetchRequest)
- A fetch request that specifies the search criteria for the fetch.
- error (NSError%)
- If there is a problem executing the fetch, upon return contains an instance of NSError that describes the problem.

An array of objects that meet the criteria specified by request fetched from the receiver and from the persistent stores associated with the receiver’s persistent store coordinator. If an error occurs, returns nil. If no objects match the criteria specified by request, returns an empty array.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)