NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IRecurrencePattern.GetTimeOfNextOccurrence

Gets the next valid time to raise the event.

[Visual Basic]
Function GetTimeOfNextOccurrence( _
   ByVal baseDate As DateTime _
) As DateTime
[C#]
DateTime GetTimeOfNextOccurrence(
   DateTime baseDate
);
[C++]
DateTime GetTimeOfNextOccurrence(
   DateTime baseDate
) = 0;
[JScript]
function GetTimeOfNextOccurrence(
   baseDate : DateTime
) : DateTime;

Parameters

baseDate
The DateTime after which the next valid date time should be calculated.

Return Value

A DateTime that represents the next valid time to raise an event.

See Also

IRecurrencePattern Interface | IRecurrencePattern Members | System.Timers Namespace | DateTime