Returns the first item that is greater than specified one.
'Declaration
Public Function GetNextDate( _
ByVal As Date _
) As Date
'Usage
Dim instance As DateList
Dim item As Date
Dim value As Date
value = instance.GetNextDate(item)
public DateTime GetNextDate(
DateTime
)
Parameters
- item
- An item to search for.
Return Value
The first item that is greater than specified one; or DateTime.MaxValue if such item is not found.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2