Tsk Class |
Namespace: Aspose.Tasks
The Tsk type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() ![]() | ActivityId |
Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects).
|
![]() ![]() ![]() | ActualCost |
Costs incurred for work already performed by resources on their tasks, together with any other recorded costs associated with the task.
|
![]() ![]() ![]() | ActualDuration |
The span of actual working time for a task, based on the scheduled duration and current remaining work or percent complete.
|
![]() ![]() ![]() | ActualFinish |
The date when a task was completed.
|
![]() ![]() ![]() | ActualOvertimeCost |
Costs incurred for overtime work already performed on tasks by assigned resources.
|
![]() ![]() ![]() | ActualOvertimeWork |
The actual amount of overtime work already performed by resources assigned to tasks.
|
![]() ![]() ![]() | ActualOvertimeWorkProtected |
The duration through which actual overtime work is protected.
![]() Reading supported for XML format only.
Duration type.
|
![]() ![]() ![]() | ActualStart |
The date and time that a task actually began.
|
![]() ![]() ![]() | ActualWork |
The amount of work that has already been done by resources assigned to tasks.
|
![]() ![]() ![]() | ActualWorkProtected |
The duration through which actual work is protected.
![]() Reading supported for XML format only.
Duration type.
|
![]() ![]() ![]() | ACWP |
Costs incurred for work already done on a task, up to the project status date or today's date.
|
![]() ![]() ![]() | BCWP |
The cumulative value of the task's percent complete multiplied by the time phased baseline costs.
|
![]() ![]() ![]() | BCWS |
The cumulative time phased baseline costs up to the status date or today's date.
|
![]() ![]() ![]() | BudgetCost |
Budget costs for budget cost resources. Budget resources are assigned only to the project summary task.
|
![]() ![]() ![]() | BudgetWork |
Budget work for budget work and material resources. Budget resources are assigned only to the project summary task.
|
![]() ![]() ![]() | Calendar |
The task calendar.
|
![]() ![]() ![]() | CommitmentFinish |
The finish date of a delivery.
![]()
Reading supported for XML format only.
DateTime type. |
![]() ![]() ![]() | CommitmentStart |
The start date of a delivery.
![]()
Reading supported for XML format only.
DateTime type. |
![]() ![]() ![]() | CommitmentType |
Determines whether a task has an associated delivery or
a dependency on an associated delivery.
![]()
Reading supported for XML format only.
Int32 type.
|
![]() ![]() ![]() | ConstraintDate |
The specific date associated with the constraint type.
|
![]() ![]() ![]() | ConstraintType |
Provides choices for the type of constraint that can be applied for scheduling a task.
|
![]() ![]() ![]() | Contact |
The name of an individual responsible for a task.
|
![]() ![]() ![]() | Cost |
The total scheduled or projected cost for a task based on costs already incurred for work performed by resources assigned to the tasks, in addition to the costs planned for the remaining work.
|
![]() ![]() ![]() | CostVariance |
The difference between the baseline cost and total cost for a task, resource, or assignment.
|
![]() ![]() ![]() | Created |
The date when a task was created.
|
![]() ![]() ![]() | CV |
The difference between the baseline cost and total cost for a task.
Cost Variance = Cost - Baseline Cost
|
![]() ![]() ![]() | Deadline |
A target date that indicates when a task is to be completed.
|
![]() ![]() ![]() | DisplayAsSummary |
Determines whether the task should be displayed as a summary task.
![]()
Reading supported for XML format only.
Boolean type. |
![]() ![]() ![]() | DisplayOnTimeline |
Specifies whether a task should be displayed on a timeline view.
|
![]() ![]() ![]() | Duration |
The total span of active working time for a task as entered or as calculated by Microsoft Project based on start date, finish date, calendars, and other scheduling factors.
|
![]() ![]() ![]() | DurationFormat |
Task duration format.
|
![]() ![]() ![]() | DurationText |
Returns the task's duration text.
|
![]() ![]() ![]() | DurationVariance |
The difference between the baseline duration of a task and the total duration (current estimate) of a task.
|
![]() ![]() ![]() | EarlyFinish |
The earliest date that a task could possibly finish, based on early finish dates of predecessor and successor tasks, other constraints, and any leveling delay.
|
![]() ![]() ![]() | EarlyStart |
The earliest date that a task could possibly begin, based on the early start dates of predecessor and successor tasks and other constraints.
|
![]() ![]() ![]() | EarnedValueMethod |
Determines whether the % Complete or Physical % Complete field should be used to calculate budgeted cost of work performed (BCWP).
|
![]() ![]() ![]() | ExternalId |
If a task is an external task it contains the task's external Id.
|
![]() ![]() ![]() | ExternalTaskProject |
The source location and task identifier of an external task.
|
![]() ![]() ![]() | Finish |
The scheduled finish date of a task.
|
![]() ![]() ![]() | FinishSlack |
The duration (in tenths of a minute) between the Early Finish and Late Finish dates.
|
![]() ![]() ![]() | FinishText |
Returns the task's finish text.
|
![]() ![]() ![]() | FinishVariance |
The time that represents the difference between the baseline finish date of a task or assignment and its current finish date.
|
![]() ![]() ![]() | FixedCost |
Shows any non resource task expense.
|
![]() ![]() ![]() | FixedCostAccrual |
Determines choices for how and when fixed costs are to be charged, or accrued, to the cost of a task.
|
![]() ![]() ![]() | FreeSlack |
The time (in tenths of a minute) that a task can be delayed without delaying any successor tasks.
|
![]() ![]() ![]() | Guid |
The generated unique identification codes for a task.
|
![]() ![]() ![]() | HasOverallocatedResource |
Indicates whether the task has an resource assigned which has more work on assigned tasks than can be completed within normal working capacity.
|
![]() ![]() ![]() | HideBar |
Determines whether the Gantt bar of a task is hidden when displayed in Microsoft Project.
|
![]() ![]() ![]() | Hyperlink |
The title or explanatory text for a hyperlink associated with a task.
|
![]() ![]() ![]() | HyperlinkAddress |
The address for a hyperlink associated with a task.
|
![]() ![]() ![]() | HyperlinkSubAddress |
The specific location in a document in a hyperlink associated with a task.
|
![]() ![]() ![]() | Id |
The position identifier of a task within the list of tasks.
|
![]() ![]() ![]() | IgnoreResourceCalendar |
Determines whether the scheduling of the task considers the calendars of the resources assigned to the task.
|
![]() ![]() ![]() | IgnoreWarnings |
Indicates whether to hide the schedule conflict warning indicator in Microsoft Project.
|
![]() ![]() ![]() | IsActive |
Determines whether a task is active. Inactive tasks no longer affect other tasks or the overall Project schedule.
|
![]() ![]() ![]() | IsCritical |
Determines whether a task is on the critical path.
|
![]() ![]() ![]() | IsEffortDriven |
Determines whether the scheduling for the task is effort-driven scheduling.
|
![]() ![]() ![]() | IsEstimated |
Determines whether a task is estimated.
|
![]() ![]() ![]() | IsExpanded |
Determines whether a summary task is expanded or not in GanttChart view.
|
![]() ![]() ![]() | IsExternalTask |
Determines whether a task is external.
|
![]() ![]() ![]() | IsManual |
Determines whether a task is manually scheduled.
|
![]() ![]() ![]() | IsMarked |
Shows whether a task is marked for further action or identification of some kind.
|
![]() ![]() ![]() | IsMilestone |
Determines whether a task is a milestone.
|
![]() ![]() ![]() | IsNull |
Determines whether a task is a null task.
|
![]() ![]() ![]() | IsOverallocated |
Indicates whether any of the assigned resources on a task is assigned to more work on the task than can be done withing the normal working capacity.
|
![]() ![]() ![]() | IsPublished |
Determines whether the current task should be published to Project Server with the rest of the project.
|
![]() ![]() ![]() | IsRecurring |
Determines whether a task is part of a series of recurring tasks.
|
![]() ![]() ![]() | IsResumeValid |
Determines whether a task can be resumed.
|
![]() ![]() ![]() | IsRollup |
Determines whether information about the subtask Gantt bars will be rolled up to the summary task bar.
|
![]() ![]() ![]() | IsSubproject |
Determines whether a task is an inserted project.
|
![]() ![]() ![]() | IsSubprojectReadOnly |
Determines whether a subproject is read-only.
|
![]() ![]() ![]() | IsSummary |
Determines whether a task is a summary task.
|
![]() ![]() ![]() | LateFinish |
The latest date that a task can finish without delaying the finish of the project.
|
![]() ![]() ![]() | LateStart |
The latest date that a task can start without delaying the finish of the project.
|
![]() ![]() ![]() | LevelAssignments |
Determines whether the leveling function can delay and split individual assignments in order to resolve over allocations.
|
![]() ![]() ![]() | LevelingCanSplit |
Determines whether the resource leveling function can cause splits on remaining work on this task.
|
![]() ![]() ![]() | LevelingDelay |
The time that a task is to be delayed from its early start date because of resource leveling.
|
![]() ![]() ![]() | LevelingDelayFormat |
The format of expressing the duration of a delay.
|
![]() ![]() ![]() | ManualDuration |
Defines manually scheduled duration of a task.
|
![]() ![]() ![]() | ManualFinish |
Defines manually scheduled finish of a task.
|
![]() ![]() ![]() | ManualStart |
Defines manually scheduled start of a task.
|
![]() ![]() ![]() | Name |
A task's name.
|
![]() ![]() ![]() | NotesRTF |
The text notes in RTF format.
|
![]() ![]() ![]() | NotesText |
Notes' plain text extracted from RTF data.
|
![]() ![]() ![]() | OutlineLevel |
The outline level of a task.
|
![]() ![]() ![]() | OutlineNumber |
The number that represents a task's position in the hierarchical outline structure.
|
![]() ![]() ![]() | OvertimeCost |
The total overtime cost for a task, for a resource on all assigned tasks, or for a resource assignment.
|
![]() ![]() ![]() | OvertimeWork |
The amount of overtime scheduled to be performed by all resources assigned to a task.
|
![]() ![]() ![]() | PercentComplete |
The current status of a task, expressed as the percentage of the task's duration that has been completed.
|
![]() ![]() ![]() | PercentWorkComplete |
The current status of a task expressed as the percentage of work that has been completed.
|
![]() ![]() ![]() | PhysicalPercentComplete |
Percent complete value that can be be used as an alternative for calculating budgeted cost of work performed (BCWP).
|
![]() ![]() ![]() | PreleveledFinish |
The finish date of a task as it was before resource leveling was done.
|
![]() ![]() ![]() | PreleveledStart |
The start date of a task as it was before resource leveling was done.
|
![]() ![]() ![]() | Priority |
The level of importance given to a task, which in turn indicates how readily a task or assignment can be delayed or split during resource leveling.
|
![]() ![]() ![]() | RegularWork |
The total amount of non overtime work scheduled to be performed by resources.
|
![]() ![]() ![]() | RemainingCost |
The remaining scheduled expense that will be incurred in completing the remaining scheduled work.
|
![]() ![]() ![]() | RemainingDuration |
The time that is required to complete the unfinished part of a task.
|
![]() ![]() ![]() | RemainingOvertimeCost |
The remaining scheduled overtime expense for a task.
|
![]() ![]() ![]() | RemainingOvertimeWork |
The amount of remaining scheduled overtime time.
|
![]() ![]() ![]() | RemainingWork |
The time still required to complete a task or set of tasks.
|
![]() ![]() ![]() | Resume |
The date that the remaining part of a task is scheduled to resume after entering any progress.
|
![]() ![]() ![]() | Start |
The scheduled start date of a task.
|
![]() ![]() ![]() | StartSlack |
The duration (in tenths of a minute) between the Early Start and Late Start dates.
|
![]() ![]() ![]() | StartText |
Returns the task's start text.
|
![]() ![]() ![]() | StartVariance |
The time that represents the difference between a baseline start date of a task or assignment and its currently scheduled start date.
|
![]() ![]() ![]() | StatusManager |
The name of the enterprise resource who is to receive status updates for the current task from resources.
|
![]() ![]() ![]() | Stop |
The date that represents the end of the actual portion of a task.
|
![]() ![]() ![]() | SubprojectName |
The source location of a subproject.
|
![]() ![]() | SV |
The earned value schedule variance, through the project status date.
Schedule variance (SV) is the difference between the BCWP and the BCWS.
|
![]() ![]() ![]() | TotalSlack |
The time (in tenths of a minute) a task's finish date can be delayed without delaying the project's finish date.
|
![]() ![]() ![]() | Type |
The type of a task.
|
![]() ![]() ![]() | Uid |
The unique Id of a task.
|
![]() ![]() ![]() | Warning |
Represents the flag which indicates that task has schedule discrepancies.
|
![]() ![]() ![]() | WBS |
Work breakdown structure (WBS) codes.
|
![]() ![]() ![]() | WBSLevel |
The rightmost WBS level of a task.
|
![]() ![]() ![]() | Work |
The total time scheduled on a task for all assigned resources.
|
![]() ![]() ![]() | WorkVariance |
The difference between baseline work of a task and the currently scheduled work.
|
var project = new Project(); // Add task and set task properties var task = project.RootTask.Children.Add(); task.Set(Tsk.Name, "Task1"); task.Set(Tsk.Start, new DateTime(2020, 3, 31, 8, 0, 0)); task.Set(Tsk.Finish, new DateTime(2020, 3, 31, 17, 0, 0)); var collector = new ChildTasksCollector(); TaskUtils.Apply(project.RootTask, collector, 0); // Parse through all the collected tasks foreach (var tsk in collector.Tasks) { Console.WriteLine("Task Id: {0}", tsk.Get(Tsk.Id)); Console.WriteLine("Task Uid: {0}", tsk.Get(Tsk.Uid)); Console.WriteLine("Task Name: {0}", tsk.Get(Tsk.Name)); Console.WriteLine("Task Start: {0}", tsk.Get(Tsk.Start)); Console.WriteLine("Task Finish: {0}", tsk.Get(Tsk.Finish)); }