Version

ClearSelectedDateTimeRange() Method

Clears the current date/time selection.
Syntax
'Declaration
 
Public Function ClearSelectedDateTimeRange() As Boolean
public bool ClearSelectedDateTimeRange()

Return Value

A boolean indicating whether the operation was successful; a return value of true signifies success, or that nothing has changed.
Remarks

When the selected date/time range is cleared, the SelectedDateTimeRange property will subsequently return null, until a range is set.

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