DailyRecurrencePattern Class |
Namespace: Aspose.Tasks
The DailyRecurrencePattern type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | DailyRecurrencePattern |
Initializes a new instance of the DailyRecurrencePattern class.
|
Name | Description | |
---|---|---|
![]() ![]() | RecurrenceRange |
Gets or sets the recurrence range.
(Inherited from RecurrencePatternBase.) |
![]() ![]() | Repetition |
Gets or sets the pattern of repetitions in daily recurrence pattern.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
var project = new Project(DataDir + "Project1.mpp"); var parameters = new RecurringTaskParameters { TaskName = "New recurrent task", RecurrencePattern = new DailyRecurrencePattern { RecurrenceRange = new EndAfterRecurrenceRange { Start = new DateTime(2018, 1, 1, 8, 0, 0), OccurrenceNumber = 9 }, Repetition = new DailyWorkRepetition { RepetitionInterval = 1 } }, Duration = project.GetDuration(1, TimeUnitType.Hour) }; parameters.SetCalendar(project, "Standard"); var task = project.RootTask.Children.Add(parameters); task.Set(Tsk.Start, new DateTime(2020, 4, 27, 8, 0, 0)); // work with the project further... // ...