Scheduler for WinRT
Occurrences Property


Gets or sets the number of occurrences for the recurrence pattern. This property allows the definition of a recurrence pattern that is only valid for the specified number of subsequent occurrences. For example, you can set this property to 10 for a formal training course that will be held on the next ten Thursday evenings. The default value is 0.
Syntax
'Declaration
 
Public Property Occurrences As Integer
'Usage
 
Dim instance As RecurrencePattern
Dim value As Integer
 
instance.Occurrences = value
 
value = instance.Occurrences
public int Occurrences {get; set;}
Remarks
This property must be coordinated with other properties when setting up a recurrence pattern. If the PatternEndDate property or the Occurrences property is set, the pattern is considered to be finite and the NoEndDate property is false. If neither PatternEndDate nor Occurrences is set, the pattern is considered infinite and NoEndDate is true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RecurrencePattern Class
RecurrencePattern Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.