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.RecurrenceEnd.NewWithOccurrenceCount
Creates a recurrence end with a maximum occurrence count.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
Events
|
6.2 |
✅ Yes
|
❌ No
|
❌ No
|
❌ No
|
✅ Yes
|
MBS( "Events.RecurrenceEnd.NewWithOccurrenceCount"; Count )
More
MBS(
"Events.RecurrenceEnd.NewWithOccurrenceCount"; /* Creates a recurrence end with a maximum occurrence count. */
$Count) /* The new occurence count.e.g. 5 */
Less
Parameters
Parameter |
Description |
Example |
Count |
The new occurence count. |
5 |
Result
Returns recurrence end ID or error.
Description
Creates a recurrence end with a maximum occurrence count.
EKRecurrenceEnd is an attribute of EKRecurrenceRule that defines how long the recurrence is scheduled to repeat. The recurrence can be defined either with a number that indicates the total number times it repeats, or with a date, after which it no longer repeats. An event which is set to never end should have its EKRecurrenceEnd set to empty. If the end of the pattern is defines with a date, the client must pass a valid date. If the end of the pattern is defined as terms of a number of occurrences, the occurrenceCount passed to the initializer must be positive, it cannot be 0.
See also
Created 10th March 2016, last changed 13th March 2016
Events.RecurrenceEnd.NewWithEndDate
-
Events.RecurrenceEnd.OccurrenceCount
Feedback: Report problem or ask question.