Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / Holiday Class / IsDefined Method
A System.DateTime value indicates the date.


In This Topic
    IsDefined Method (Holiday)
    In This Topic
    Gets a value indicating whether the specified date is a Holiday.
    Syntax
    'Declaration
     
    Public Overrides Function IsDefined( _
       ByVal dateTime As Date _
    ) As Boolean
    'Usage
     
    Dim instance As Holiday
    Dim dateTime As Date
    Dim value As Boolean
     
    value = instance.IsDefined(dateTime)
    public override bool IsDefined( 
       DateTime dateTime
    )

    Parameters

    dateTime
    A System.DateTime value indicates the date.

    Return Value

    true if the date is a Holiday; otherwise, false.
    See Also