Table of contents
TOC
Collapse the table of content
Expand the table of content

Task.TimeScaleData Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Sets options for displaying timephased data for the task.

Syntax

expression. TimeScaleData( ** StartDate, ** EndDate, ** Type, ** TimeScaleUnit, ** Count** )

expression A variable that represents a Task object.

Parameters

NameRequired/OptionalData TypeDescription
StartDateRequiredVariantThe start date for the timephased data. If the start date falls within an interval, it is "rounded" to the start of the interval. For example, if TimeScaleUnit is pjTimescaleWeeks and StartDate specifies a Wednesday, the start date is rounded to the preceding Monday (assuming that the work week started on a Monday).
EndDateRequiredVariantThe end date for the timephased data. If the end date falls within an interval, it is "rounded" to the end of the interval.
TypeOptionalLongThe type of timephased data. Can be one of the PjTaskTimescaledData constants. The default value is pjTaskTimescaledWork.
TimeScaleUnitOptionalLongCan be one of the PjTimescaleUnit constants. The default value is pjTimescaleWeeks.
CountOptionalLongThe number of timescale units to group together. The default value is 1.

Return Value

TimeScaleValues

© 2018 Microsoft