This documentation is archived and is not being maintained.

MonthCalendar.HitTestInfo.Time Property

Gets the time information specific to the location that was hit-tested.

[Visual Basic]
Public ReadOnly Property Time As DateTime
public DateTime Time {get;}
public: __property DateTime get_Time();
public function get Time() : DateTime;

Property Value

A DateTime.


The Time property contains a valid date when the MonthCalendar.HitArea property is set to Date or WeekNumbers.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MonthCalendar.HitTestInfo Class | MonthCalendar.HitTestInfo Members | System.Windows.Forms Namespace | DateTime | MonthCalendar.HitArea