Version

ActivateDay Method

Creates a Day object for the specified DateTime if one has not already been created, and assigns that instance to the ActiveDay property.
Syntax
'Declaration
 
Public Function ActivateDay( _
   ByVal date As Date _
) As Boolean
public bool ActivateDay( 
   DateTime date
)

Parameters

date
The date to activate.

Return Value

A boolean indicating whether the operation was successful. A return value of false implies that the BeforeActiveDayChanged event was canceled.
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