DateRangeCollectionAdd(DateTime, TimeSpan) Method
Add a new Date Range to the collection by Member Values.
Namespace: ProjectTaskAssembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
public DateRangeItem Add(
DateTime startDate,
TimeSpan duration
)
Public Function Add (
startDate As DateTime,
duration As TimeSpan
) As DateRangeItem
No code example is currently available or this language may not be supported.
- startDate DateTime
-
Date Time Value to serve as the Start Date.
- duration TimeSpan
-
Duration of the event.
DateRangeItem
Reference to the newly created and added DateRangeItem.