Creates a RecurrenceInfo that runs until a specified date.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public static RecurrenceInfo ToEndDate(
	DateTime start,
	TimeSpan duration,
	DateTime endDate,
	IRecurrencePattern recurrencePattern
)
Visual Basic (Declaration)
Public Shared Function ToEndDate ( _
	start As DateTime, _
	duration As TimeSpan, _
	endDate As DateTime, _
	recurrencePattern As IRecurrencePattern _
) As RecurrenceInfo

Parameters

start
Type: System..::.DateTime
The start date and time of the recurrence.
duration
Type: System..::.TimeSpan
The duration of the ScheduleItem.
endDate
Type: System..::.DateTime
The date on which the recurrence is to end.
recurrencePattern
Type: Mindscape.WpfElements..::.IRecurrencePattern
The recurrence pattern.

Return Value

A RecurrenceInfo representing the specified recurrence schedule.

See Also