IWinMonthCalendarSetSelection Method (DateTime, DateTime) |
Sets a range from the first date to the last date as the selected block in the month calendar control.
Namespace:
SmartBear.TestLeft.TestObjects.Win
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax void SetSelection(
DateTime first,
DateTime last
)
Sub SetSelection (
first As DateTime,
last As DateTime
)
Dim instance As IWinMonthCalendar
Dim first As DateTime
Dim last As DateTime
instance.SetSelection(first, last)
void SetSelection(
DateTime first,
DateTime last
)
Parameters
- first
- Type: SystemDateTime
Specifies the first date of the range to be selected. - last
- Type: SystemDateTime
Specifies the last date of the range to be selected.
Exceptions See Also