RecurringTaskInfo Class |
Namespace: Aspose.Tasks
The RecurringTaskInfo type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | DailyRepetitions |
Gets or sets a number of repetitions for the daily recurrence pattern.
|
![]() ![]() | DailyUseWorkdays |
Gets or sets a value indicating whether to use workdays for the daily recurrence pattern.
|
![]() ![]() | Duration |
Gets or sets the duration for one occurrence of the recurring task.
![]() the instance of Duration class. |
![]() ![]() | EndDate |
Gets or sets the date for the occurrences to end.
|
![]() ![]() | MonthlyDay |
Gets or sets a number of day of the monthly recurrence pattern.
|
![]() ![]() | MonthlyOrdinalDay |
Gets or sets a day of the monthly recurrence pattern when using ordinal day.
![]() Can be one of the values of DayOfWeek enumeration. |
![]() ![]() | MonthlyOrdinalNumber |
Gets or sets an ordinal number of the monthly recurrence pattern.
![]() Can be one of the values of OrdinalNumber enumeration. |
![]() ![]() | MonthlyOrdinalRepetitions |
Gets or sets a number of repetitions for the monthly recurrence pattern when using ordinal day.
|
![]() ![]() | MonthlyRepetitions |
Gets or sets a number of repetitions for the monthly recurrence pattern.
|
![]() ![]() | MonthlyUseOrdinalDay |
Gets or sets a value indicating whether to use ordinal day for the monthly recurrence pattern.
|
![]() ![]() | Occurrences |
Gets or sets a number of occurrences of the recurring task.
|
![]() ![]() | RecurrencePattern |
Gets or sets a recurrence pattern of the recurring task.
![]() Can be one of the values of RecurrencePattern enumeration. |
![]() ![]() | StartDate |
Gets or sets the date for the occurrences to begin.
|
![]() ![]() | Task |
Gets the parent task of this instance of RecurringTaskInfo class.
|
![]() ![]() | UseEndDate |
Gets or sets a value indicating whether to use the end date or a number of occurrences for the recurring task.
|
![]() ![]() | WeeklyDays |
Gets or sets a collection of days used in the weekly recurrence pattern.
![]() |
![]() ![]() | WeeklyRepetitions |
Gets or sets a number of repetitions for the weekly recurrence pattern.
|
![]() ![]() | YearlyDate |
Gets or sets a date for the yearly recurrence pattern.
|
![]() ![]() | YearlyOrdinalDay |
Gets or sets a weekday of the yearly recurrence pattern when using ordinal day.
![]() Can be one of the values of DayOfWeek enumeration. |
![]() ![]() | YearlyOrdinalMonth |
Gets or sets a month of the yearly recurrence pattern when using ordinal day.
![]() Can be one of the values of Month enumeration. |
![]() ![]() | YearlyOrdinalNumber |
Gets or sets an ordinal number of the yearly recurrence pattern.
![]() Can be one of the values of OrdinalNumber enumeration. |
![]() ![]() | YearlyUseOrdinalDay |
Gets or sets a value indicating whether to use ordinal day for the yearly 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 + "TestRecurringTask2016.mpp"); // read recurring information of tasks foreach (var task in project.RootTask.SelectAllChildTasks()) { var info = task.RecurringInfo; if (info == null) { continue; } Console.WriteLine("Start Date: " + info.StartDate); Console.WriteLine("Duration: " + info.Duration); Console.WriteLine("End Date: " + info.EndDate); Console.WriteLine("Daily Repetitions: " + info.DailyRepetitions); Console.WriteLine("Daily Use Workdays: " + info.DailyUseWorkdays); Console.WriteLine("Monthly Day: " + info.MonthlyDay); Console.WriteLine("Monthly Ordinal Day: " + info.MonthlyOrdinalDay); Console.WriteLine("Monthly Ordinal Number: " + info.MonthlyOrdinalNumber); Console.WriteLine("Monthly Ordinal Repetitions: " + info.MonthlyOrdinalRepetitions); Console.WriteLine("Monthly Repetitions: " + info.MonthlyRepetitions); Console.WriteLine("Monthly Use Ordinal Day: " + info.MonthlyUseOrdinalDay); Console.WriteLine("Occurrences: " + info.Occurrences); Console.WriteLine("Recurrence Pattern: " + info.RecurrencePattern); Console.WriteLine("Parent Task: " + info.Task.Get(Tsk.Name)); Console.WriteLine("Use End Date: " + info.UseEndDate); Console.WriteLine("Weekly Days: " + info.WeeklyDays); Console.WriteLine("Weekly Repetitions: " + info.WeeklyRepetitions); Console.WriteLine("Yearly Date: " + info.YearlyDate); Console.WriteLine("Yearly Ordinal Day: " + info.YearlyOrdinalDay); Console.WriteLine("Yearly Ordinal Month: " + info.YearlyOrdinalMonth); Console.WriteLine("Yearly Ordinal Number: " + info.YearlyOrdinalNumber); Console.WriteLine("Yearly Use Ordinal Day: " + info.YearlyUseOrdinalDay); Console.WriteLine(); }