Search
Recurrence.GetEndDate Method
See Also
 






Returns the end date for this recurrence.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public DateTime GetEndDate (
    Calendar c
)

Visual Basic  Copy Code

Public Function GetEndDate( _
    c As Calendar _
) As DateTime

 Parameters

c

An object that specifies the calendar to use for calculating the end date of the recurrence.

 Return Value

The end date of the recurrence if the recurrence is set to expire or DateTime.MaxValue otherwise.

 Remarks

The end date is calculated from the specified repeat number if RecurrenceEnd is set to NumOccurrences.

 See Also