Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

Created 10th March 2016, last changed 13th March 2016


Events.RecurrenceRule.NewWithFrequency - Events.RecurrenceRule.SetRecurrenceEnd

Feedback: Report problem or ask question.