[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.HolidayCollection.GetTypeOfDay

GetTypeOfDay Method

GetTypeOfDay(DateTime, out object)

Determines the type of day for the specified date.

Declaration
public virtual DayType GetTypeOfDay(DateTime date, out object holiday)
Public Overridable Function GetTypeOfDay([date] As Date, ByRef holiday As Object) As DayType
Parameters
Type Name Description
DateTime date

A DateTime value that indicates the date.

object holiday

A Holiday, ForceHoliday, or ForceWorkday class associated with the holiday.

Returns
Type Description
DayType

A DayType enumeration that represents the type of day.