Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.Win.C1Schedule Namespace / TimeInterval Class / Contains Method
The System.DateTime value to check.

In This Topic
    Contains Method (TimeInterval)
    In This Topic
    Returns a value indicating whether a specified System.DateTime value belongs to the current interval of time.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal date As System.Date _
    ) As System.Boolean
    public System.bool Contains( 
       System.DateTime date
    )

    Parameters

    date
    The System.DateTime value to check.

    Return Value

    True if value is in the interval; otherwise, False.
    See Also