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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.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

This function checks for a license.

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


Events.RecurrenceRule.NewWithFrequency - Events.RecurrenceRule.SetRecurrenceEnd

💬 Ask a question or report a problem