Version

GetWorkingHours(Resource,DateTime) Method

Gets the working hours for the specified resource on the day specified by the 'date' parameter.
Syntax
'Declaration
 
Public Function GetWorkingHours( _
   ByVal resource As Resource, _
   ByVal date As Date _
) As WorkingHoursCollection
public WorkingHoursCollection GetWorkingHours( 
   Resource resource,
   DateTime date
)

Parameters

resource
Resource whose working hours to get.
date
Day for which to get the working hours.

Return Value

WorkingHoursCollection instance that contains the working hours or null if the day is not a work-day.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also