When overridden in a derived class, gets the next valid scheduled day to raise the event, without taking into account StartTime, EndTime, or Interval.
[Visual Basic] MustOverride Protected Function GetDateOfNextOccurence( _ ByVal baseDate As DateTime _ ) As DateTime [C#] protected abstract DateTime GetDateOfNextOccurence( DateTime baseDate ); [C++] protected: virtual DateTime GetDateOfNextOccurence( DateTime baseDate ) = 0; [JScript] protected abstract function GetDateOfNextOccurence( baseDate : DateTime ) : DateTime;
A DateTime that represents the next valid date to raise an event.
Normally, this method is called by Schedule, which will ensure no argument exceptions are thrown. If you call this method directly, DateTime will throw the argument exceptions.
RecurrencePattern Class | RecurrencePattern Members | System.Timers Namespace | DateTime | System.Schedule