Duration property

This property is implemented by the following interfaces. Click one of the links below to jump to the description of the property as it pertains to that interface.

IERUCalendarEvent
IERUCalendarRecurringEvent

IERUProgressReport
IERUProjectTask

 

 

Duration property

Sets or returns how long (in minutes) a Calendar Event lasts.

Syntax


C++

HRESULT get_Duration(LONG* pDuration)

HRESULT put_Duration(LONG myDuration)

Scripting languages

Duration = Object.Duration

Object.Duration = Duration

Legal values


For setting this property, the minimum and maximum values are 10 and 1440 minutes respectively.

Remarks


For IERUCalendarEvent, this property applies only to an individual event.

This property is obsolete in V.7. for IERUCalendarRecurringEvent. 

 

Go to Top

Home

Applies to

IERUCalendarEvent

IERUCalendarRecurringEvent


See also

Calendars

 

 

Duration property

For IERUProgressReport, returns but does not set the number of days remaining for this task.

For IERUProjectTask, returns or sets the number of days assigned to this task.

Syntax


C++

HRESULT get_Duration(DOUBLE* pDuration)

HRESULT put_Duration(DOUBLE MyDuration)

Scripting languages

Duration = Object.Duration

Object.Duration = Duration

 

Go to Top

Home

Applies to
IERUProgressReport

IERUProjectTask