Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.RecurrenceRule.SetPositions
Queries the set positions.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "Events.RecurrenceRule.SetPositions"; EKRecurrenceRule ) More
Parameters
Parameter | Description | Example |
---|---|---|
EKRecurrenceRule | The reference to the recurrence rule. | $RecurrenceRule |
Result
Returns list or error.
Description
Queries the set positions.This property is valid for rules which have a valid daysOfTheWeek, daysOfTheMonth, weeksOfTheYear, or monthsOfTheYear property. It allows you to specify a set of ordinal numbers to help choose which objects out of the set of selected events should be included. For example, setting the daysOfTheWeek to Monday-Friday and including a value of -1 in the array would indicate the last weekday in the recurrence range (month, year, etc). This value corresponds to the iCalendar BYSETPOS property.
See also
This function checks for a license.
Created 10th March 2016, last changed 13th March 2016
Events.RecurrenceRule.NewWithFrequency - Events.RecurrenceRule.SetRecurrenceEnd