NSManagedObjectContext.CountForFetchRequest(NSFetchRequest, NSError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the number of objects that request would return if it were run.
[Foundation.Export("countForFetchRequest:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr CountForFetchRequest(CoreData.NSFetchRequest request, out Foundation.NSError error);
[<Foundation.Export("countForFetchRequest:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CountForFetchRequest : CoreData.NSFetchRequest * NSError -> unativeint
override this.CountForFetchRequest : CoreData.NSFetchRequest * NSError -> unativeint
Parameters
- request
- NSFetchRequest
- error
- NSError
Returns
UIntPtr
unativeint
- Attributes