Subclasses should override this method to customize a fetch request, for example to specify fetch limits.
Original signature is '- (BOOL)fetchWithRequest:(NSFetchRequest *)fetchRequest merge:(BOOL)merge error:(NSError **)error'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool FetchWithRequestMergeError( NSFetchRequest fetchRequest, bool merge, out NSError error )
Public Overridable Function FetchWithRequestMergeError ( _ fetchRequest As NSFetchRequest, _ merge As Boolean, _ <OutAttribute> ByRef error As NSError _ ) As Boolean
public: virtual bool FetchWithRequestMergeError( NSFetchRequest^ fetchRequest, bool merge, [OutAttribute] NSError^% error )
Parameters
- fetchRequest (NSFetchRequest)
- The fetch request to use for the fetch. Pass nil to use the default fetch request.
- merge (Boolean)
- If YES, the receiver merges the existing content with the fetch result, otherwise the receiver replaces the entire content with the fetch result.
- error (NSError%)
- If an error occurs, upon return contains an NSError object that describes the problem.
Return Value
YES if the fetch completed successfully, otherwise NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)