Version

ExchangeDates Method

Updates/Creates the appropriate date range in the collection by removing one date and replacing it with another in a single atomic operation. Note that if the range includes disabled days, the actual number of days selected may be less than NumberOfDays.
Syntax
'Declaration
 
Public Sub ExchangeDates( _
   ByVal dateToAdd As Date, _
   ByVal dateToRemove As Date _
) 
public void ExchangeDates( 
   DateTime dateToAdd,
   DateTime dateToRemove
)

Parameters

dateToAdd
The date to add.
dateToRemove
The date to remove.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also