Class RecurringTaskParameters

Class RecurringTaskParameters

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

Represents the set of parameters are used to create a recurring task in a project.

public class RecurringTaskParameters

Inheritance

objectRecurringTaskParameters

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

RecurringTaskParameters()

Initializes a new instance of the Aspose.Tasks.RecurringTaskParameters class.

public RecurringTaskParameters()

Properties

Duration

Gets or sets the duration for one occurrence of the recurring task. The instance of Aspose.Tasks.RecurringTaskParameters.Duration class.

public Duration Duration { get; set; }

Property Value

Duration

IgnoreResourceCalendar

Gets or sets a value indicating whether to schedule the recurring task even if it does not happen when any resources are available to work on it.

public bool IgnoreResourceCalendar { get; set; }

Property Value

bool

RecurrencePattern

Gets or sets the recurrence pattern of the recurring task. Can be one of the values of Aspose.Tasks.RecurringTaskParameters.RecurrencePattern enumeration.

public RecurrencePatternBase RecurrencePattern { get; set; }

Property Value

RecurrencePatternBase

TaskName

Gets or sets the name of the recurring task.

public string TaskName { get; set; }

Property Value

string

Methods

SetCalendar(Project, string)

Set a calendar for recurring task. The calendar is selected from project calendar collection.

public void SetCalendar(Project project, string calendarName)

Parameters

project Project

The project with calendar collection.

calendarName string

The name of calendar.