EKEventStore.FetchReminders(NSPredicate, Action<EKReminder[]>) 方法

定义

提取与指定谓词匹配的提醒。

[Foundation.Export("fetchRemindersMatchingPredicate:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual IntPtr FetchReminders (Foundation.NSPredicate predicate, Action<EventKit.EKReminder[]> completion);
abstract member FetchReminders : Foundation.NSPredicate * Action<EventKit.EKReminder[]> -> nativeint
override this.FetchReminders : Foundation.NSPredicate * Action<EventKit.EKReminder[]> -> nativeint

参数

predicate
NSPredicate

要提取的提醒的谓词。

completion
Action<EKReminder[]>

使用与谓词匹配的提醒调用的方法。

返回

IntPtr

nativeint

表示提取操作的令牌。 将此传递给 以 CancelFetchRequest(IntPtr) 取消操作。

属性

适用于