Düzenle

Aracılığıyla paylaş


EKEventStore.PredicateForEvents(NSDate, NSDate, EKCalendar[]) Method

Definition

Returns a predicate that represents events in a time period from the calendar.

[Foundation.Export("predicateForEventsWithStartDate:endDate:calendars:")]
public virtual Foundation.NSPredicate PredicateForEvents (Foundation.NSDate startDate, Foundation.NSDate endDate, EventKit.EKCalendar[] calendars);
abstract member PredicateForEvents : Foundation.NSDate * Foundation.NSDate * EventKit.EKCalendar[] -> Foundation.NSPredicate
override this.PredicateForEvents : Foundation.NSDate * Foundation.NSDate * EventKit.EKCalendar[] -> Foundation.NSPredicate

Parameters

startDate
NSDate

Starting date, if null searches for all events before the end date.

This parameter can be null.

endDate
NSDate

Ending date, if null searches for all events past the starting date.

This parameter can be null.

calendars
EKCalendar[]

If not null, specifies the calendars to limit the search to. If null, searches all the calendars.

This parameter can be null.

Returns

Attributes

Applies to