Returns the number of objects a given fetch request would have returned if it had been passed to executeFetchRequest:error:.
Original signature is '- (NSUInteger)countForFetchRequest:(NSFetchRequest *)request error:(NSError **)error'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSUInteger CountForFetchRequestError( NSFetchRequest request, out NSError error )
Public Overridable Function CountForFetchRequestError ( _ request As NSFetchRequest, _ <OutAttribute> ByRef error As NSError _ ) As NSUInteger
public: virtual NSUInteger CountForFetchRequestError( NSFetchRequest^ request, [OutAttribute] NSError^% error )
Parameters
- 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.
Return Value
The number of objects a given fetch request would have returned if it had been passed to executeFetchRequest:error:.
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)