Creates a RecurrenceInfo that runs until a specified date.
Namespace: Mindscape.SilverlightElementsAssembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public static RecurrenceInfo ToEndDate( DateTime start, TimeSpan duration, DateTime endDate, IRecurrencePattern recurrencePattern ) |
Visual Basic |
---|
Public Shared Function ToEndDate ( _ start As DateTime, _ duration As TimeSpan, _ endDate As DateTime, _ recurrencePattern As IRecurrencePattern _ ) As RecurrenceInfo |
Visual C++ |
---|
public: static RecurrenceInfo^ ToEndDate( DateTime start, TimeSpan duration, DateTime endDate, IRecurrencePattern^ recurrencePattern ) |
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.SilverlightElements..::..IRecurrencePattern
The recurrence pattern.