| Visual Basic (Declaration) | |
|---|---|
Overloads Public Function SelectDate( _ ByVal dtDate As Date, _ ByVal bSelect As Boolean _ ) As Boolean | |
Parameters
- dtDate
- The date to select or unselect
- bSelect
- A boolean value indicating if the date should be selected (True) or unselected (False)
Return Value
a boolean value indicating if the desired selection/unselection was successfulAttempting to select a date that is already selected or to unselect a date that isn't currently selected, will return a value of false.
This method requires the SelectedMode property be set to Multiple to work correctly.