'Declaration Public Overloads Function DateTimeFromPoint( _ ByVal point As Point, _ ByRef timeSlot As TimeSlot _ ) As Nullable(Of Date)
public Nullable<DateTime> DateTimeFromPoint( Point point, out TimeSlot timeSlot )
When the specified point references an area of the control which is within a TimeSlot, the returned value will contain a time component, which reflects the start time of that TimeSlot. Since the time of the first TimeSlot is typically midnight, and thus indistinguishable from a date with no time component, the timeSlot parameter exists to allow the caller to differentiate between the AllDayEvent area and the TimeSlot area.
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