DateRangeCollectionAdd(DateTime, TimeSpan) Method

Add a new Date Range to the collection by Member Values.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public DateRangeItem Add(
	DateTime startDate,
	TimeSpan duration
)

Parameters

startDate  DateTime
Date Time Value to serve as the Start Date.
duration  TimeSpan
Duration of the event.

Return Value

DateRangeItem
Reference to the newly created and added DateRangeItem.

See Also