Click or drag to resize

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
)

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
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also