Aspose.Tasks for C++
Aspose::Tasks::Task Class Reference

Represents a task in a project. More...

#include <Task.h>

Inherits Aspose::Tasks::IContainer< K >, System::IEquatable< System::SharedPtr< Aspose::Tasks::Task > >, Aspose::Tasks::IExtendedAttributeParent, Aspose::Tasks::IEntityWithNotes, and Aspose::Tasks::IEntityWithHyperlink.

Public Member Functions

System::SharedPtr< TaskCollectionget_Predecessors ()
 Gets a TaskCollection object which contains all predecessors of this Task object. More...
 
System::SharedPtr< TaskCollectionget_Successors ()
 Gets a TaskCollection object which contains all successors of this Task object. More...
 
System::SharedPtr< ResourceAssignmentCollectionget_Assignments ()
 Gets a collection of resource assignments for this object. More...
 
const System::SharedPtr< Project > & get_ParentProject () const override
 Gets the parent project of a task. More...
 
const System::SharedPtr< OutlineCodeCollection > & get_OutlineCodes () const
 Gets OutlineCodeCollection object. More...
 
void set_OutlineCodes (const System::SharedPtr< OutlineCodeCollection > &value)
 Sets OutlineCodeCollection object. More...
 
System::SharedPtr< Taskget_ParentTask () const
 Gets the parent task of a task. More...
 
const System::SharedPtr< TaskCollection > & get_Children () const
 Gets a child task collection of this object. TaskCollection object which represents children tasks. More...
 
System::SharedPtr< SplitPartCollectionget_SplitParts ()
 Gets a SplitPart collection that represents the portions of a task. More...
 
System::SharedPtr< ExtendedAttributeCollectionget_ExtendedAttributes () override
 Gets ExtendedAttributeCollection object containing the values of an extended attribute. More...
 
System::SharedPtr< TimephasedDataCollectionget_TimephasedData ()
 Gets a TimephasedDataCollection object of this task. The time phased data block associated with a task. More...
 
void set_TimephasedData (const System::SharedPtr< TimephasedDataCollection > &value)
 Sets a TimephasedDataCollection object of this task. The time phased data block associated with a task. More...
 
const System::SharedPtr< TaskBaselineCollection > & get_Baselines () const
 Gets the collection of baseline values of the task. More...
 
void set_Baselines (const System::SharedPtr< TaskBaselineCollection > &value)
 Sets the collection of baseline values of the task. More...
 
System::SharedPtr< RecurringTaskInfoget_RecurringInfo ()
 Gets the instance of RecurringTaskInfo class for the task which is a recurring task; if the task is not a recurring one then returns null; More...
 
const System::SharedPtr< PrimaveraTaskProperties > & get_PrimaveraProperties () const
 Gets an object containing Primavera-specific properties for a task read from Primavera file. More...
 
int32_t get_Uid ()
 Gets a value of Uid. More...
 
void set_Uid (int32_t value)
 Sets a value of Uid. More...
 
int32_t get_Id ()
 Gets a value of Id. More...
 
void set_Id (int32_t value)
 Sets a value of Id. More...
 
TaskType get_Type ()
 Gets a value of Type. More...
 
void set_Type (TaskType value)
 Sets a value of Type. More...
 
NullableBool get_IsNull ()
 Gets a value indicating whether IsNull is set or not. More...
 
void set_IsNull (NullableBool value)
 Sets a value indicating whether IsNull is set or not. More...
 
System::DateTime get_Created ()
 Gets a value of Created. More...
 
void set_Created (System::DateTime value)
 Sets a value of Created. More...
 
System::String get_Contact ()
 Gets a value of Contact. More...
 
void set_Contact (const System::String &value)
 Sets a value of Contact. More...
 
System::String get_WBS ()
 Gets a value of WBS. More...
 
void set_WBS (const System::String &value)
 Sets a value of WBS. More...
 
System::String get_WBSLevel ()
 Gets a value of WBSLevel. More...
 
void set_WBSLevel (const System::String &value)
 Sets a value of WBSLevel. More...
 
System::String get_OutlineNumber ()
 Gets a value of OutlineNumber. More...
 
void set_OutlineNumber (const System::String &value)
 Sets a value of OutlineNumber. More...
 
System::String get_Name ()
 Gets a value of Name. More...
 
void set_Name (const System::String &value)
 Sets a value of Name. More...
 
int32_t get_OutlineLevel ()
 Gets a value of OutlineLevel. More...
 
void set_OutlineLevel (int32_t value)
 Sets a value of OutlineLevel. More...
 
int32_t get_Priority ()
 Gets a value of Priority. More...
 
void set_Priority (int32_t value)
 Sets a value of Priority. More...
 
System::DateTime get_Start ()
 Gets a value of Start. More...
 
void set_Start (System::DateTime value)
 Sets a value of Start. More...
 
System::DateTime get_Finish ()
 Gets a value of Finish. More...
 
void set_Finish (System::DateTime value)
 Sets a value of Finish. More...
 
Aspose::Tasks::Duration get_Duration ()
 Gets a value of Duration. More...
 
void set_Duration (Aspose::Tasks::Duration value)
 Sets a value of Duration. More...
 
Aspose::Tasks::Duration get_DurationVariance ()
 Gets a value of DurationVariance. More...
 
void set_DurationVariance (Aspose::Tasks::Duration value)
 Sets a value of DurationVariance. More...
 
TimeUnitType get_DurationFormat ()
 Gets a value of DurationFormat. More...
 
void set_DurationFormat (TimeUnitType value)
 Sets a value of DurationFormat. More...
 
Aspose::Tasks::Duration get_Work ()
 Gets a value of Work. More...
 
void set_Work (Aspose::Tasks::Duration value)
 Sets a value of Work. More...
 
System::DateTime get_Stop ()
 Gets a value of Stop. More...
 
void set_Stop (System::DateTime value)
 Sets a value of Stop. More...
 
System::DateTime get_Resume ()
 Gets a value of Resume. More...
 
void set_Resume (System::DateTime value)
 Sets a value of Resume. More...
 
NullableBool get_IsResumeValid ()
 Gets a value indicating whether IsResumeValid is set or not. More...
 
void set_IsResumeValid (NullableBool value)
 Sets a value indicating whether IsResumeValid is set or not. More...
 
NullableBool get_IsEffortDriven ()
 Gets a value indicating whether IsEffortDriven is set or not. More...
 
void set_IsEffortDriven (NullableBool value)
 Sets a value indicating whether IsEffortDriven is set or not. More...
 
NullableBool get_IsRecurring ()
 Gets a value indicating whether IsRecurring is set or not. More...
 
void set_IsRecurring (NullableBool value)
 Sets a value indicating whether IsRecurring is set or not. More...
 
bool get_IsSummary ()
 Gets a value indicating whether IsSummary is set or not. More...
 
void set_IsSummary (bool value)
 Sets a value indicating whether IsSummary is set or not. More...
 
NullableBool get_IsOverallocated ()
 Gets a value indicating whether IsOverallocated is set or not. More...
 
void set_IsOverallocated (NullableBool value)
 Sets a value indicating whether IsOverallocated is set or not. More...
 
NullableBool get_IsEstimated ()
 Gets a value indicating whether IsEstimated is set or not. More...
 
void set_IsEstimated (NullableBool value)
 Sets a value indicating whether IsEstimated is set or not. More...
 
NullableBool get_IsMilestone ()
 Gets a value indicating whether IsMilestone is set or not. More...
 
void set_IsMilestone (NullableBool value)
 Sets a value indicating whether IsMilestone is set or not. More...
 
NullableBool get_IsCritical ()
 Gets a value indicating whether IsCritical is set or not. More...
 
void set_IsCritical (NullableBool value)
 Sets a value indicating whether IsCritical is set or not. More...
 
bool get_IsSubproject ()
 Gets a value indicating whether IsSubproject is set or not. More...
 
void set_IsSubproject (bool value)
 Sets a value indicating whether IsSubproject is set or not. More...
 
NullableBool get_IsSubprojectReadOnly ()
 Gets a value indicating whether IsSubprojectReadOnly is set or not. More...
 
void set_IsSubprojectReadOnly (NullableBool value)
 Sets a value indicating whether IsSubprojectReadOnly is set or not. More...
 
bool get_IsMarked ()
 Gets a value indicating whether IsMarked is set or not. More...
 
void set_IsMarked (bool value)
 Sets a value indicating whether IsMarked is set or not. More...
 
bool get_IgnoreWarnings ()
 Gets a value indicating whether IgnoreWarnings is set or not. More...
 
void set_IgnoreWarnings (bool value)
 Sets a value indicating whether IgnoreWarnings is set or not. More...
 
bool get_IsExternalTask ()
 Gets a value indicating whether IsExternalTask is set or not. More...
 
void set_IsExternalTask (bool value)
 Sets a value indicating whether IsExternalTask is set or not. More...
 
System::String get_SubprojectName ()
 Gets a value of SubprojectName. More...
 
void set_SubprojectName (const System::String &value)
 Sets a value of SubprojectName. More...
 
System::String get_ExternalTaskProject ()
 Gets a value of ExternalTaskProject. More...
 
void set_ExternalTaskProject (const System::String &value)
 Sets a value of ExternalTaskProject. More...
 
int32_t get_ExternalId ()
 Gets a value of ExternalId. More...
 
void set_ExternalId (int32_t value)
 Sets a value of ExternalId. More...
 
int32_t get_ExternalUid ()
 Gets or set the external task's Unique identifier when the task is external. More...
 
void set_ExternalUid (int32_t value)
 Gets or set the external task's Unique identifier when the task is external. More...
 
System::DateTime get_EarlyStart ()
 Gets a value of EarlyStart. More...
 
void set_EarlyStart (System::DateTime value)
 Sets a value of EarlyStart. More...
 
System::DateTime get_EarlyFinish ()
 Gets a value of EarlyFinish. More...
 
void set_EarlyFinish (System::DateTime value)
 Sets a value of EarlyFinish. More...
 
System::DateTime get_LateStart ()
 Gets a value of LateStart. More...
 
void set_LateStart (System::DateTime value)
 Sets a value of LateStart. More...
 
System::DateTime get_LateFinish ()
 Gets a value of LateFinish. More...
 
void set_LateFinish (System::DateTime value)
 Sets a value of LateFinish. More...
 
Aspose::Tasks::Duration get_StartVariance ()
 Gets a value of StartVariance. More...
 
void set_StartVariance (Aspose::Tasks::Duration value)
 Sets a value of StartVariance. More...
 
Aspose::Tasks::Duration get_FinishVariance ()
 Gets a value of FinishVariance. More...
 
void set_FinishVariance (Aspose::Tasks::Duration value)
 Sets a value of FinishVariance. More...
 
Aspose::Tasks::Duration get_WorkVariance ()
 Gets a value of WorkVariance. More...
 
void set_WorkVariance (Aspose::Tasks::Duration value)
 Sets a value of WorkVariance. More...
 
double get_CostVariance ()
 Gets a value of CostVariance. More...
 
void set_CostVariance (double value)
 Sets a value of CostVariance. More...
 
System::TimeSpan get_StartSlack ()
 Gets a value of StartSlack. More...
 
void set_StartSlack (System::TimeSpan value)
 Sets a value of StartSlack. More...
 
System::TimeSpan get_FinishSlack ()
 Gets a value of FinishSlack. More...
 
void set_FinishSlack (System::TimeSpan value)
 Sets a value of FinishSlack. More...
 
System::TimeSpan get_FreeSlack ()
 Gets a value of FreeSlack. More...
 
void set_FreeSlack (System::TimeSpan value)
 Sets a value of FreeSlack. More...
 
System::TimeSpan get_TotalSlack ()
 Gets a value of TotalSlack. More...
 
void set_TotalSlack (System::TimeSpan value)
 Sets a value of TotalSlack. More...
 
double get_FixedCost ()
 Gets a value of FixedCost. More...
 
void set_FixedCost (double value)
 Sets a value of FixedCost. More...
 
CostAccrualType get_FixedCostAccrual ()
 Gets a value of FixedCostAccrual. More...
 
void set_FixedCostAccrual (CostAccrualType value)
 Sets a value of FixedCostAccrual. More...
 
int32_t get_PercentComplete ()
 Gets a value of PercentComplete. More...
 
void set_PercentComplete (int32_t value)
 Sets a value of PercentComplete. More...
 
int32_t get_PercentWorkComplete ()
 Gets a value of PercentWorkComplete. More...
 
void set_PercentWorkComplete (int32_t value)
 Sets a value of PercentWorkComplete. More...
 
System::Decimal get_Cost ()
 Gets a value of Cost. More...
 
void set_Cost (System::Decimal value)
 Sets a value of Cost. More...
 
System::Decimal get_OvertimeCost ()
 Gets a value of OvertimeCost. More...
 
void set_OvertimeCost (System::Decimal value)
 Sets a value of OvertimeCost. More...
 
System::DateTime get_ActualStart ()
 Gets a value of ActualStart. More...
 
void set_ActualStart (System::DateTime value)
 Sets a value of ActualStart. More...
 
System::DateTime get_ActualFinish ()
 Gets a value of ActualFinish. More...
 
void set_ActualFinish (System::DateTime value)
 Sets a value of ActualFinish. More...
 
Aspose::Tasks::Duration get_ActualDuration ()
 Gets a value of ActualDuration. More...
 
void set_ActualDuration (Aspose::Tasks::Duration value)
 Sets a value of ActualDuration. More...
 
System::Decimal get_ActualCost ()
 Gets a value of ActualCost. More...
 
void set_ActualCost (System::Decimal value)
 Sets a value of ActualCost. More...
 
System::Decimal get_ActualOvertimeCost ()
 Gets a value of ActualOvertimeCost. More...
 
void set_ActualOvertimeCost (System::Decimal value)
 Sets a value of ActualOvertimeCost. More...
 
Aspose::Tasks::Duration get_ActualWork ()
 Gets a value of ActualWork. More...
 
void set_ActualWork (Aspose::Tasks::Duration value)
 Sets a value of ActualWork. More...
 
Aspose::Tasks::Duration get_ActualOvertimeWork ()
 Gets a value of ActualOvertimeWork. More...
 
void set_ActualOvertimeWork (Aspose::Tasks::Duration value)
 Sets a value of ActualOvertimeWork. More...
 
Aspose::Tasks::Duration get_RegularWork ()
 Gets a value of RegularWork. More...
 
void set_RegularWork (Aspose::Tasks::Duration value)
 Sets a value of RegularWork. More...
 
Aspose::Tasks::Duration get_OvertimeWork ()
 Gets a value of OvertimeWork. More...
 
void set_OvertimeWork (Aspose::Tasks::Duration value)
 Sets a value of OvertimeWork. More...
 
Aspose::Tasks::Duration get_RemainingDuration ()
 Gets a value of RemainingDuration. More...
 
void set_RemainingDuration (Aspose::Tasks::Duration value)
 Sets a value of RemainingDuration. More...
 
System::Decimal get_RemainingCost ()
 Gets a value of RemainingCost. More...
 
void set_RemainingCost (System::Decimal value)
 Sets a value of RemainingCost. More...
 
Aspose::Tasks::Duration get_RemainingWork ()
 Gets a value of RemainingWork. More...
 
void set_RemainingWork (Aspose::Tasks::Duration value)
 Sets a value of RemainingWork. More...
 
Aspose::Tasks::Duration get_RemainingOvertimeWork ()
 Gets a value of RemainingOvertimeWork. More...
 
void set_RemainingOvertimeWork (Aspose::Tasks::Duration value)
 Sets a value of RemainingOvertimeWork. More...
 
System::Decimal get_RemainingOvertimeCost ()
 Gets a value of RemainingOvertimeCost. More...
 
void set_RemainingOvertimeCost (System::Decimal value)
 Sets a value of RemainingOvertimeCost. More...
 
double get_ACWP ()
 Gets a value of ACWP. More...
 
void set_ACWP (double value)
 Sets a value of ACWP. More...
 
double get_CV ()
 Gets a value of CV. More...
 
void set_CV (double value)
 Sets a value of CV. More...
 
Aspose::Tasks::ConstraintType get_ConstraintType ()
 Gets a value of ConstraintType. More...
 
void set_ConstraintType (Aspose::Tasks::ConstraintType value)
 Sets a value of ConstraintType. More...
 
System::SharedPtr< Aspose::Tasks::Calendarget_Calendar ()
 Gets a value of Calendar. More...
 
void set_Calendar (const System::SharedPtr< Aspose::Tasks::Calendar > &value)
 Sets a value of Calendar. More...
 
System::DateTime get_ConstraintDate ()
 Gets a value of ConstraintDate. More...
 
void set_ConstraintDate (System::DateTime value)
 Sets a value of ConstraintDate. More...
 
System::DateTime get_Deadline ()
 Gets a value of Deadline. More...
 
void set_Deadline (System::DateTime value)
 Sets a value of Deadline. More...
 
NullableBool get_LevelAssignments ()
 Gets a value indicating whether LevelAssignments is set or not. More...
 
void set_LevelAssignments (NullableBool value)
 Sets a value indicating whether LevelAssignments is set or not. More...
 
NullableBool get_LevelingCanSplit ()
 Gets a value indicating whether LevelingCanSplit is set or not. More...
 
void set_LevelingCanSplit (NullableBool value)
 Sets a value indicating whether LevelingCanSplit is set or not. More...
 
Aspose::Tasks::Duration get_LevelingDelay ()
 Gets a value of LevelingDelay. More...
 
void set_LevelingDelay (Aspose::Tasks::Duration value)
 Sets a value of LevelingDelay. More...
 
System::DateTime get_PreleveledStart ()
 Gets a value of PreleveledStart. More...
 
void set_PreleveledStart (System::DateTime value)
 Sets a value of PreleveledStart. More...
 
System::DateTime get_PreleveledFinish ()
 Gets a value of PreleveledFinish. More...
 
void set_PreleveledFinish (System::DateTime value)
 Sets a value of PreleveledFinish. More...
 
System::String get_Hyperlink () override
 Gets the title or explanatory text for a hyperlink associated with a task. More...
 
void set_Hyperlink (System::String value) override
 Sets the title or explanatory text for a hyperlink associated with a task. More...
 
System::String get_HyperlinkAddress () override
 Gets the address for a hyperlink associated with a task. More...
 
void set_HyperlinkAddress (System::String value) override
 Sets the address for a hyperlink associated with a task. More...
 
System::String get_HyperlinkSubAddress () override
 Gets the specific location in a document in a hyperlink associated with a task. More...
 
void set_HyperlinkSubAddress (System::String value) override
 Sets the specific location in a document in a hyperlink associated with a task. More...
 
NullableBool get_IgnoreResourceCalendar ()
 Gets a value indicating whether IgnoreResourceCalendar is set or not. More...
 
void set_IgnoreResourceCalendar (NullableBool value)
 Sets a value indicating whether IgnoreResourceCalendar is set or not. More...
 
NullableBool get_HideBar ()
 Gets a value indicating whether HideBar is set or not. More...
 
void set_HideBar (NullableBool value)
 Sets a value indicating whether HideBar is set or not. More...
 
NullableBool get_IsRollup ()
 Gets a value indicating whether IsRollup is set or not. More...
 
void set_IsRollup (NullableBool value)
 Sets a value indicating whether IsRollup is set or not. More...
 
double get_BCWS ()
 Gets a value of BCWS. More...
 
void set_BCWS (double value)
 Sets a value of BCWS. More...
 
double get_BCWP ()
 Gets a value of BCWP. More...
 
void set_BCWP (double value)
 Sets a value of BCWP. More...
 
int32_t get_PhysicalPercentComplete ()
 Gets a value of PhysicalPercentComplete. More...
 
void set_PhysicalPercentComplete (int32_t value)
 Sets a value of PhysicalPercentComplete. More...
 
EarnedValueMethodType get_EarnedValueMethod ()
 Gets a value of EarnedValueMethod. More...
 
void set_EarnedValueMethod (EarnedValueMethodType value)
 Sets a value of EarnedValueMethod. More...
 
Aspose::Tasks::Duration get_ActualWorkProtected ()
 Gets a value of ActualWorkProtected. More...
 
void set_ActualWorkProtected (Aspose::Tasks::Duration value)
 Sets a value of ActualWorkProtected. More...
 
Aspose::Tasks::Duration get_ActualOvertimeWorkProtected ()
 Gets a value of ActualOvertimeWorkProtected. More...
 
void set_ActualOvertimeWorkProtected (Aspose::Tasks::Duration value)
 Sets a value of ActualOvertimeWorkProtected. More...
 
NullableBool get_IsPublished ()
 Gets a value indicating whether IsPublished is set or not. More...
 
void set_IsPublished (NullableBool value)
 Sets a value indicating whether IsPublished is set or not. More...
 
TaskStatus get_Status ()
 Gets task status. More...
 
System::String get_StatusManager ()
 Gets a value of StatusManager. More...
 
void set_StatusManager (const System::String &value)
 Sets a value of StatusManager. More...
 
System::DateTime get_CommitmentStart ()
 Gets a value of CommitmentStart. More...
 
void set_CommitmentStart (System::DateTime value)
 Sets a value of CommitmentStart. More...
 
System::DateTime get_CommitmentFinish ()
 Gets a value of CommitmentFinish. More...
 
void set_CommitmentFinish (System::DateTime value)
 Sets a value of CommitmentFinish. More...
 
int32_t get_CommitmentType ()
 Gets a value of CommitmentType. More...
 
void set_CommitmentType (int32_t value)
 Sets a value of CommitmentType. More...
 
NullableBool get_IsManual ()
 Gets a value indicating whether IsManual is set or not. More...
 
void set_IsManual (NullableBool value)
 Sets a value indicating whether IsManual is set or not. More...
 
NullableBool get_IsExpanded ()
 Gets a value indicating whether IsExpanded is set or not. More...
 
void set_IsExpanded (NullableBool value)
 Sets a value indicating whether IsExpanded is set or not. More...
 
System::String get_Guid ()
 Gets a value of Guid. More...
 
void set_Guid (const System::String &value)
 Sets a value of Guid. More...
 
System::String get_NotesText () override
 Gets a value of NotesText. More...
 
void set_NotesText (System::String value) override
 Sets a value of NotesText. More...
 
System::String get_NotesRTF () override
 Gets a value of NotesRTF. More...
 
void set_NotesRTF (System::String value) override
 Sets a value of NotesRTF. More...
 
System::DateTime get_ManualStart ()
 Gets a value of ManualStart. More...
 
void set_ManualStart (System::DateTime value)
 Sets a value of ManualStart. More...
 
System::DateTime get_ManualFinish ()
 Gets a value of ManualFinish. More...
 
void set_ManualFinish (System::DateTime value)
 Sets a value of ManualFinish. More...
 
Aspose::Tasks::Duration get_ManualDuration ()
 Gets a value of ManualDuration. More...
 
void set_ManualDuration (Aspose::Tasks::Duration value)
 Sets a value of ManualDuration. More...
 
Aspose::Tasks::Duration get_BudgetWork ()
 Gets a value of BudgetWork. More...
 
void set_BudgetWork (Aspose::Tasks::Duration value)
 Sets a value of BudgetWork. More...
 
System::Decimal get_BudgetCost ()
 Gets a value of BudgetCost. More...
 
void set_BudgetCost (System::Decimal value)
 Sets a value of BudgetCost. More...
 
NullableBool get_DisplayAsSummary ()
 Gets a value indicating whether DisplayAsSummary is set or not. More...
 
void set_DisplayAsSummary (NullableBool value)
 Sets a value indicating whether DisplayAsSummary is set or not. More...
 
NullableBool get_IsActive ()
 Gets a value indicating whether IsActive is set or not. More...
 
void set_IsActive (NullableBool value)
 Sets a value indicating whether IsActive is set or not. More...
 
System::String get_StartText ()
 Gets a value of StartText. More...
 
void set_StartText (const System::String &value)
 Sets a value of StartText. More...
 
System::String get_DurationText ()
 Gets a value of DurationText. More...
 
void set_DurationText (const System::String &value)
 Sets a value of DurationText. More...
 
System::String get_FinishText ()
 Gets a value of FinishText. More...
 
void set_FinishText (const System::String &value)
 Sets a value of FinishText. More...
 
bool get_DisplayOnTimeline ()
 Gets a value indicating whether DisplayOnTimeline is set or not. More...
 
void set_DisplayOnTimeline (bool value)
 Sets a value indicating whether DisplayOnTimeline is set or not. More...
 
bool get_Warning ()
 Gets a value indicating whether Warning is set or not. More...
 
void set_Warning (bool value)
 Sets a value indicating whether Warning is set or not. More...
 
System::String get_ActivityId ()
 Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects). More...
 
void set_ActivityId (const System::String &value)
 Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects). More...
 
double get_SV ()
 The earned value schedule variance, through the project status date. Schedule variance (SV) is the difference between the BCWP and the BCWS. More...
 
void set_SV (double value)
 The earned value schedule variance, through the project status date. Schedule variance (SV) is the difference between the BCWP and the BCWS. More...
 
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Task > > > SelectAllChildTasks ()
 Recursively collects all child tasks of this task. More...
 
System::SharedPtr< TimephasedDataCollectionGetTimephasedData (System::DateTime start, System::DateTime end, TimephasedDataType timephasedType)
 Returns TimephasedDataCollection object with TimephasedData values within given start and end dates of specified time-phased data type. More...
 
System::SharedPtr< TimephasedDataCollectionGetTimephasedData (System::DateTime start, System::DateTime end)
 Returns TimephasedDataCollection object with TimephasedData values within given start and end dates. More...
 
System::SharedPtr< System::Object > Clone ()
 Creates full copy of a task without subtasks. More...
 
bool Equals (System::SharedPtr< Task > other) override
 Returns a value indicating whether this instance is equal to a specified task. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 
System::String ToString () const override
 Returns short string representation of a task. The exact details of the representation are unspecified and subject to change. More...
 
int32_t GetHashCode () const override
 Returns a hash code value for this Task. More...
 
template<typename T >
Get (const Key< T, TaskKey > &key) const
 Returns the value to which the property is mapped in this container. More...
 
template<typename T >
void Set (const Key< T, TaskKey > &key, const T &val)
 Maps the specified property to the specified value in this container. More...
 
void Delete ()
 Deletes a task from parent project tasks collection and all its assignments. More...
 
void OutlineIndent ()
 Indents a task in the outline. More...
 
void OutlineOutdent ()
 Promotes a task in the outline. More...
 
void MoveToSibling (const System::SharedPtr< Task > &beforeTask)
 Moves the current task at the same Outline Level before the specified task. If ParentProject.CalculationMode is None user should invoke Project.Recalculate() after using this method (It will reschedule all project tasks (start/finish dates, sets early/late dates) and calculate the dependent fields such as slacks, work and cost fields, outline levels). If ParentProject.CalculationMode is Manual the method will calculate only task id, outline level and outline numbers automatically. If ParentProject.CalculationMode is Automatic the method reschedules all project's tasks automatically (start/finish dates, sets early/late dates, calculates slacks, work and cost fields, recalculates ids and outline levels). More...
 
void MoveToSibling (int32_t beforeTaskId)
 Moves the current task at the same Outline Level before a task with the specified Id. If ParentProject.CalculationMode is None user should invoke Project.Recalculate() after using this method (It will reschedule all project tasks (start/finish dates, sets early/late dates) and calculate the dependent fields such as slacks, work and cost fields, outline levels). If ParentProject.CalculationMode is Manual the method will calculate only task id, outline level and outline numbers automatically. If ParentProject.CalculationMode is Automatic the method reschedules all project's tasks automatically (start/finish dates, sets early/late dates, calculates slacks, work and cost fields, recalculates ids and outline levels). More...
 

Detailed Description

Represents a task in a project.

The Task is representing a one atomic chunk of work.

One can use Task to plan a project by creating tasks and assign appropriate resources onto them. Tasks in a project are organized as a rooted hierarchical tree structure, with a root task and subtrees of children tasks.

To build a tree of tasks one can use a specialized collection Aspose::Tasks::TaskCollection by accessing Project::RootTask property e.g.:

Project project = new Project();
// add new tasks
Task task1 = project.RootTask.Children.Add(); // a parent task with empty name is added
Task childTask1 = task1.Children.Add("Child 1");
childTask1.Set(Tsk.Start, new DateTime(2020, 2, 12, 8, 0, 0))
childTask1.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour));
childTask1.Set(Tsk.Finish, new DateTime(2020, 2, 12, 17, 0, 0));
Task childTask3 = task1.Children.Add("Child 3");
childTask3.Set(Tsk.Start, new DateTime(2020, 2, 13, 8, 0, 0))
childTask3.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour));
childTask3.Set(Tsk.Finish, new DateTime(2020, 2, 13, 17, 0, 0));
Task childTask2 = task1.Children.Add("Child 2", 2); // inserts a task before the childTask3
childTask2.Set(Tsk.Start, new DateTime(2020, 2, 14, 8, 0, 0))
childTask2.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour));
childTask2.Set(Tsk.Finish, new DateTime(2020, 2, 14, 17, 0, 0));
// save project in the one of available formats
project.Save("Filled project.xml", SaveFileFormat.MPP);

Member Function Documentation

◆ Clone()

System::SharedPtr<System::Object> Aspose::Tasks::Task::Clone ( )

Creates full copy of a task without subtasks.

Returns
Created copy of a task.

◆ Delete()

void Aspose::Tasks::Task::Delete ( )

Deletes a task from parent project tasks collection and all its assignments.

◆ Equals() [1/2]

bool Aspose::Tasks::Task::Equals ( System::SharedPtr< System::Object >  obj)
override

Returns a value indicating whether this instance is equal to a specified object.

Parameters
objThe specified object to compare with this instance.
Returns
returns true if the specified task and this instance have equal unique ids.

◆ Equals() [2/2]

bool Aspose::Tasks::Task::Equals ( System::SharedPtr< Task other)
override

Returns a value indicating whether this instance is equal to a specified task.

Parameters
otherThe specified task to compare with this instance.
Returns
returns true if the specified task and this instance have equal unique ids.

◆ Get()

template<typename T >
T Aspose::Tasks::Task::Get ( const Key< T, TaskKey > &  key) const
inline

Returns the value to which the property is mapped in this container.

Template Parameters
Tthe type of the mapped value.
Parameters
keythe specified property key. Tsk for getting the property key.
Returns
the value to which the property is mapped in this container.

◆ get_ActivityId()

System::String Aspose::Tasks::Task::get_ActivityId ( )

Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects).

◆ get_ActualCost()

System::Decimal Aspose::Tasks::Task::get_ActualCost ( )

Gets a value of ActualCost.

◆ get_ActualDuration()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_ActualDuration ( )

Gets a value of ActualDuration.

◆ get_ActualFinish()

System::DateTime Aspose::Tasks::Task::get_ActualFinish ( )

Gets a value of ActualFinish.

◆ get_ActualOvertimeCost()

System::Decimal Aspose::Tasks::Task::get_ActualOvertimeCost ( )

Gets a value of ActualOvertimeCost.

◆ get_ActualOvertimeWork()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_ActualOvertimeWork ( )

Gets a value of ActualOvertimeWork.

◆ get_ActualOvertimeWorkProtected()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_ActualOvertimeWorkProtected ( )

Gets a value of ActualOvertimeWorkProtected.

◆ get_ActualStart()

System::DateTime Aspose::Tasks::Task::get_ActualStart ( )

Gets a value of ActualStart.

◆ get_ActualWork()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_ActualWork ( )

Gets a value of ActualWork.

◆ get_ActualWorkProtected()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_ActualWorkProtected ( )

Gets a value of ActualWorkProtected.

◆ get_ACWP()

double Aspose::Tasks::Task::get_ACWP ( )

Gets a value of ACWP.

◆ get_Assignments()

System::SharedPtr<ResourceAssignmentCollection> Aspose::Tasks::Task::get_Assignments ( )

Gets a collection of resource assignments for this object.

◆ get_Baselines()

const System::SharedPtr<TaskBaselineCollection>& Aspose::Tasks::Task::get_Baselines ( ) const

Gets the collection of baseline values of the task.

◆ get_BCWP()

double Aspose::Tasks::Task::get_BCWP ( )

Gets a value of BCWP.

◆ get_BCWS()

double Aspose::Tasks::Task::get_BCWS ( )

Gets a value of BCWS.

◆ get_BudgetCost()

System::Decimal Aspose::Tasks::Task::get_BudgetCost ( )

Gets a value of BudgetCost.

◆ get_BudgetWork()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_BudgetWork ( )

Gets a value of BudgetWork.

◆ get_Calendar()

System::SharedPtr<Aspose::Tasks::Calendar> Aspose::Tasks::Task::get_Calendar ( )

Gets a value of Calendar.

◆ get_Children()

const System::SharedPtr<TaskCollection>& Aspose::Tasks::Task::get_Children ( ) const

Gets a child task collection of this object. TaskCollection object which represents children tasks.

◆ get_CommitmentFinish()

System::DateTime Aspose::Tasks::Task::get_CommitmentFinish ( )

Gets a value of CommitmentFinish.

◆ get_CommitmentStart()

System::DateTime Aspose::Tasks::Task::get_CommitmentStart ( )

Gets a value of CommitmentStart.

◆ get_CommitmentType()

int32_t Aspose::Tasks::Task::get_CommitmentType ( )

Gets a value of CommitmentType.

◆ get_ConstraintDate()

System::DateTime Aspose::Tasks::Task::get_ConstraintDate ( )

Gets a value of ConstraintDate.

◆ get_ConstraintType()

Aspose::Tasks::ConstraintType Aspose::Tasks::Task::get_ConstraintType ( )

Gets a value of ConstraintType.

◆ get_Contact()

System::String Aspose::Tasks::Task::get_Contact ( )

Gets a value of Contact.

◆ get_Cost()

System::Decimal Aspose::Tasks::Task::get_Cost ( )

Gets a value of Cost.

◆ get_CostVariance()

double Aspose::Tasks::Task::get_CostVariance ( )

Gets a value of CostVariance.

◆ get_Created()

System::DateTime Aspose::Tasks::Task::get_Created ( )

Gets a value of Created.

◆ get_CV()

double Aspose::Tasks::Task::get_CV ( )

Gets a value of CV.

◆ get_Deadline()

System::DateTime Aspose::Tasks::Task::get_Deadline ( )

Gets a value of Deadline.

◆ get_DisplayAsSummary()

NullableBool Aspose::Tasks::Task::get_DisplayAsSummary ( )

Gets a value indicating whether DisplayAsSummary is set or not.

◆ get_DisplayOnTimeline()

bool Aspose::Tasks::Task::get_DisplayOnTimeline ( )

Gets a value indicating whether DisplayOnTimeline is set or not.

◆ get_Duration()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_Duration ( )

Gets a value of Duration.

◆ get_DurationFormat()

TimeUnitType Aspose::Tasks::Task::get_DurationFormat ( )

Gets a value of DurationFormat.

◆ get_DurationText()

System::String Aspose::Tasks::Task::get_DurationText ( )

Gets a value of DurationText.

◆ get_DurationVariance()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_DurationVariance ( )

Gets a value of DurationVariance.

◆ get_EarlyFinish()

System::DateTime Aspose::Tasks::Task::get_EarlyFinish ( )

Gets a value of EarlyFinish.

◆ get_EarlyStart()

System::DateTime Aspose::Tasks::Task::get_EarlyStart ( )

Gets a value of EarlyStart.

◆ get_EarnedValueMethod()

EarnedValueMethodType Aspose::Tasks::Task::get_EarnedValueMethod ( )

Gets a value of EarnedValueMethod.

◆ get_ExtendedAttributes()

System::SharedPtr<ExtendedAttributeCollection> Aspose::Tasks::Task::get_ExtendedAttributes ( )
override

Gets ExtendedAttributeCollection object containing the values of an extended attribute.

Two pieces of data are necessary - a pointer back to the extended attribute table which is specified either by the unique ID or the Field ID, and the value which is specified either with the value, or a pointer back to the value list.

◆ get_ExternalId()

int32_t Aspose::Tasks::Task::get_ExternalId ( )

Gets a value of ExternalId.

◆ get_ExternalTaskProject()

System::String Aspose::Tasks::Task::get_ExternalTaskProject ( )

Gets a value of ExternalTaskProject.

◆ get_ExternalUid()

int32_t Aspose::Tasks::Task::get_ExternalUid ( )

Gets or set the external task's Unique identifier when the task is external.

◆ get_Finish()

System::DateTime Aspose::Tasks::Task::get_Finish ( )

Gets a value of Finish.

◆ get_FinishSlack()

System::TimeSpan Aspose::Tasks::Task::get_FinishSlack ( )

Gets a value of FinishSlack.

◆ get_FinishText()

System::String Aspose::Tasks::Task::get_FinishText ( )

Gets a value of FinishText.

◆ get_FinishVariance()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_FinishVariance ( )

Gets a value of FinishVariance.

◆ get_FixedCost()

double Aspose::Tasks::Task::get_FixedCost ( )

Gets a value of FixedCost.

◆ get_FixedCostAccrual()

CostAccrualType Aspose::Tasks::Task::get_FixedCostAccrual ( )

Gets a value of FixedCostAccrual.

◆ get_FreeSlack()

System::TimeSpan Aspose::Tasks::Task::get_FreeSlack ( )

Gets a value of FreeSlack.

◆ get_Guid()

System::String Aspose::Tasks::Task::get_Guid ( )

Gets a value of Guid.

◆ get_HideBar()

NullableBool Aspose::Tasks::Task::get_HideBar ( )

Gets a value indicating whether HideBar is set or not.

◆ get_Hyperlink()

System::String Aspose::Tasks::Task::get_Hyperlink ( )
override

Gets the title or explanatory text for a hyperlink associated with a task.

◆ get_HyperlinkAddress()

System::String Aspose::Tasks::Task::get_HyperlinkAddress ( )
override

Gets the address for a hyperlink associated with a task.

The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.

◆ get_HyperlinkSubAddress()

System::String Aspose::Tasks::Task::get_HyperlinkSubAddress ( )
override

Gets the specific location in a document in a hyperlink associated with a task.

The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.

◆ get_Id()

int32_t Aspose::Tasks::Task::get_Id ( )

Gets a value of Id.

◆ get_IgnoreResourceCalendar()

NullableBool Aspose::Tasks::Task::get_IgnoreResourceCalendar ( )

Gets a value indicating whether IgnoreResourceCalendar is set or not.

◆ get_IgnoreWarnings()

bool Aspose::Tasks::Task::get_IgnoreWarnings ( )

Gets a value indicating whether IgnoreWarnings is set or not.

◆ get_IsActive()

NullableBool Aspose::Tasks::Task::get_IsActive ( )

Gets a value indicating whether IsActive is set or not.

◆ get_IsCritical()

NullableBool Aspose::Tasks::Task::get_IsCritical ( )

Gets a value indicating whether IsCritical is set or not.

◆ get_IsEffortDriven()

NullableBool Aspose::Tasks::Task::get_IsEffortDriven ( )

Gets a value indicating whether IsEffortDriven is set or not.

◆ get_IsEstimated()

NullableBool Aspose::Tasks::Task::get_IsEstimated ( )

Gets a value indicating whether IsEstimated is set or not.

◆ get_IsExpanded()

NullableBool Aspose::Tasks::Task::get_IsExpanded ( )

Gets a value indicating whether IsExpanded is set or not.

◆ get_IsExternalTask()

bool Aspose::Tasks::Task::get_IsExternalTask ( )

Gets a value indicating whether IsExternalTask is set or not.

◆ get_IsManual()

NullableBool Aspose::Tasks::Task::get_IsManual ( )

Gets a value indicating whether IsManual is set or not.

◆ get_IsMarked()

bool Aspose::Tasks::Task::get_IsMarked ( )

Gets a value indicating whether IsMarked is set or not.

◆ get_IsMilestone()

NullableBool Aspose::Tasks::Task::get_IsMilestone ( )

Gets a value indicating whether IsMilestone is set or not.

◆ get_IsNull()

NullableBool Aspose::Tasks::Task::get_IsNull ( )

Gets a value indicating whether IsNull is set or not.

◆ get_IsOverallocated()

NullableBool Aspose::Tasks::Task::get_IsOverallocated ( )

Gets a value indicating whether IsOverallocated is set or not.

◆ get_IsPublished()

NullableBool Aspose::Tasks::Task::get_IsPublished ( )

Gets a value indicating whether IsPublished is set or not.

◆ get_IsRecurring()

NullableBool Aspose::Tasks::Task::get_IsRecurring ( )

Gets a value indicating whether IsRecurring is set or not.

◆ get_IsResumeValid()

NullableBool Aspose::Tasks::Task::get_IsResumeValid ( )

Gets a value indicating whether IsResumeValid is set or not.

◆ get_IsRollup()

NullableBool Aspose::Tasks::Task::get_IsRollup ( )

Gets a value indicating whether IsRollup is set or not.

◆ get_IsSubproject()

bool Aspose::Tasks::Task::get_IsSubproject ( )

Gets a value indicating whether IsSubproject is set or not.

◆ get_IsSubprojectReadOnly()

NullableBool Aspose::Tasks::Task::get_IsSubprojectReadOnly ( )

Gets a value indicating whether IsSubprojectReadOnly is set or not.

◆ get_IsSummary()

bool Aspose::Tasks::Task::get_IsSummary ( )

Gets a value indicating whether IsSummary is set or not.

◆ get_LateFinish()

System::DateTime Aspose::Tasks::Task::get_LateFinish ( )

Gets a value of LateFinish.

◆ get_LateStart()

System::DateTime Aspose::Tasks::Task::get_LateStart ( )

Gets a value of LateStart.

◆ get_LevelAssignments()

NullableBool Aspose::Tasks::Task::get_LevelAssignments ( )

Gets a value indicating whether LevelAssignments is set or not.

◆ get_LevelingCanSplit()

NullableBool Aspose::Tasks::Task::get_LevelingCanSplit ( )

Gets a value indicating whether LevelingCanSplit is set or not.

◆ get_LevelingDelay()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_LevelingDelay ( )

Gets a value of LevelingDelay.

◆ get_ManualDuration()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_ManualDuration ( )

Gets a value of ManualDuration.

◆ get_ManualFinish()

System::DateTime Aspose::Tasks::Task::get_ManualFinish ( )

Gets a value of ManualFinish.

◆ get_ManualStart()

System::DateTime Aspose::Tasks::Task::get_ManualStart ( )

Gets a value of ManualStart.

◆ get_Name()

System::String Aspose::Tasks::Task::get_Name ( )

Gets a value of Name.

◆ get_NotesRTF()

System::String Aspose::Tasks::Task::get_NotesRTF ( )
override

Gets a value of NotesRTF.

◆ get_NotesText()

System::String Aspose::Tasks::Task::get_NotesText ( )
override

Gets a value of NotesText.

◆ get_OutlineCodes()

const System::SharedPtr<OutlineCodeCollection>& Aspose::Tasks::Task::get_OutlineCodes ( ) const

Gets OutlineCodeCollection object.

Two pieces of data are necessary - a pointer to the outline code table that is specified by the FieldID, and the value that is specified either by the ValueID or ValueGUID pointer to the value list.

◆ get_OutlineLevel()

int32_t Aspose::Tasks::Task::get_OutlineLevel ( )

Gets a value of OutlineLevel.

◆ get_OutlineNumber()

System::String Aspose::Tasks::Task::get_OutlineNumber ( )

Gets a value of OutlineNumber.

◆ get_OvertimeCost()

System::Decimal Aspose::Tasks::Task::get_OvertimeCost ( )

Gets a value of OvertimeCost.

◆ get_OvertimeWork()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_OvertimeWork ( )

Gets a value of OvertimeWork.

◆ get_ParentProject()

const System::SharedPtr<Project>& Aspose::Tasks::Task::get_ParentProject ( ) const
override

Gets the parent project of a task.

Call Project.UpdateReferences to update these properties.

◆ get_ParentTask()

System::SharedPtr<Task> Aspose::Tasks::Task::get_ParentTask ( ) const

Gets the parent task of a task.

◆ get_PercentComplete()

int32_t Aspose::Tasks::Task::get_PercentComplete ( )

Gets a value of PercentComplete.

◆ get_PercentWorkComplete()

int32_t Aspose::Tasks::Task::get_PercentWorkComplete ( )

Gets a value of PercentWorkComplete.

◆ get_PhysicalPercentComplete()

int32_t Aspose::Tasks::Task::get_PhysicalPercentComplete ( )

Gets a value of PhysicalPercentComplete.

◆ get_Predecessors()

System::SharedPtr<TaskCollection> Aspose::Tasks::Task::get_Predecessors ( )

Gets a TaskCollection object which contains all predecessors of this Task object.

Returns
Read-only instance of TaskCollection class.

◆ get_PreleveledFinish()

System::DateTime Aspose::Tasks::Task::get_PreleveledFinish ( )

Gets a value of PreleveledFinish.

◆ get_PreleveledStart()

System::DateTime Aspose::Tasks::Task::get_PreleveledStart ( )

Gets a value of PreleveledStart.

◆ get_PrimaveraProperties()

const System::SharedPtr<PrimaveraTaskProperties>& Aspose::Tasks::Task::get_PrimaveraProperties ( ) const

Gets an object containing Primavera-specific properties for a task read from Primavera file.

◆ get_Priority()

int32_t Aspose::Tasks::Task::get_Priority ( )

Gets a value of Priority.

◆ get_RecurringInfo()

System::SharedPtr<RecurringTaskInfo> Aspose::Tasks::Task::get_RecurringInfo ( )

Gets the instance of RecurringTaskInfo class for the task which is a recurring task; if the task is not a recurring one then returns null;

The info for the instance of RecurringTaskInfo is present in mpp file format only.

◆ get_RegularWork()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_RegularWork ( )

Gets a value of RegularWork.

◆ get_RemainingCost()

System::Decimal Aspose::Tasks::Task::get_RemainingCost ( )

Gets a value of RemainingCost.

◆ get_RemainingDuration()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_RemainingDuration ( )

Gets a value of RemainingDuration.

◆ get_RemainingOvertimeCost()

System::Decimal Aspose::Tasks::Task::get_RemainingOvertimeCost ( )

Gets a value of RemainingOvertimeCost.

◆ get_RemainingOvertimeWork()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_RemainingOvertimeWork ( )

Gets a value of RemainingOvertimeWork.

◆ get_RemainingWork()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_RemainingWork ( )

Gets a value of RemainingWork.

◆ get_Resume()

System::DateTime Aspose::Tasks::Task::get_Resume ( )

Gets a value of Resume.

◆ get_SplitParts()

System::SharedPtr<SplitPartCollection> Aspose::Tasks::Task::get_SplitParts ( )

Gets a SplitPart collection that represents the portions of a task.

◆ get_Start()

System::DateTime Aspose::Tasks::Task::get_Start ( )

Gets a value of Start.

◆ get_StartSlack()

System::TimeSpan Aspose::Tasks::Task::get_StartSlack ( )

Gets a value of StartSlack.

◆ get_StartText()

System::String Aspose::Tasks::Task::get_StartText ( )

Gets a value of StartText.

◆ get_StartVariance()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_StartVariance ( )

Gets a value of StartVariance.

◆ get_Status()

TaskStatus Aspose::Tasks::Task::get_Status ( )

Gets task status.

◆ get_StatusManager()

System::String Aspose::Tasks::Task::get_StatusManager ( )

Gets a value of StatusManager.

◆ get_Stop()

System::DateTime Aspose::Tasks::Task::get_Stop ( )

Gets a value of Stop.

◆ get_SubprojectName()

System::String Aspose::Tasks::Task::get_SubprojectName ( )

Gets a value of SubprojectName.

◆ get_Successors()

System::SharedPtr<TaskCollection> Aspose::Tasks::Task::get_Successors ( )

Gets a TaskCollection object which contains all successors of this Task object.

Returns
Read-only instance of TaskCollection class.

◆ get_SV()

double Aspose::Tasks::Task::get_SV ( )

The earned value schedule variance, through the project status date. Schedule variance (SV) is the difference between the BCWP and the BCWS.

◆ get_TimephasedData()

System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::Task::get_TimephasedData ( )

Gets a TimephasedDataCollection object of this task. The time phased data block associated with a task.

Reading supported for XML format only.

◆ get_TotalSlack()

System::TimeSpan Aspose::Tasks::Task::get_TotalSlack ( )

Gets a value of TotalSlack.

◆ get_Type()

TaskType Aspose::Tasks::Task::get_Type ( )

Gets a value of Type.

◆ get_Uid()

int32_t Aspose::Tasks::Task::get_Uid ( )

Gets a value of Uid.

◆ get_Warning()

bool Aspose::Tasks::Task::get_Warning ( )

Gets a value indicating whether Warning is set or not.

◆ get_WBS()

System::String Aspose::Tasks::Task::get_WBS ( )

Gets a value of WBS.

◆ get_WBSLevel()

System::String Aspose::Tasks::Task::get_WBSLevel ( )

Gets a value of WBSLevel.

◆ get_Work()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_Work ( )

Gets a value of Work.

◆ get_WorkVariance()

Aspose::Tasks::Duration Aspose::Tasks::Task::get_WorkVariance ( )

Gets a value of WorkVariance.

◆ GetHashCode()

int32_t Aspose::Tasks::Task::GetHashCode ( ) const
override

Returns a hash code value for this Task.

Returns
returns a hash code value for this object.

◆ GetTimephasedData() [1/2]

System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::Task::GetTimephasedData ( System::DateTime  start,
System::DateTime  end 
)

Returns TimephasedDataCollection object with TimephasedData values within given start and end dates.

Parameters
startThe start date for the time phased data.
endThe end date for the time phased data.
Returns
List of Aspose::Tasks::TimephasedData to be filled in.

◆ GetTimephasedData() [2/2]

System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::Task::GetTimephasedData ( System::DateTime  start,
System::DateTime  end,
TimephasedDataType  timephasedType 
)

Returns TimephasedDataCollection object with TimephasedData values within given start and end dates of specified time-phased data type.

Parameters
startThe start date for the time phased data.
endThe end date for the time phased data.
timephasedTypeThe type of time phased data (Aspose::Tasks::TimephasedDataType).
Returns
A TimephasedDataCollection object with TimephasedData values within given start and end dates of specified timephased data type.

◆ MoveToSibling() [1/2]

void Aspose::Tasks::Task::MoveToSibling ( const System::SharedPtr< Task > &  beforeTask)

Moves the current task at the same Outline Level before the specified task. If ParentProject.CalculationMode is None user should invoke Project.Recalculate() after using this method (It will reschedule all project tasks (start/finish dates, sets early/late dates) and calculate the dependent fields such as slacks, work and cost fields, outline levels). If ParentProject.CalculationMode is Manual the method will calculate only task id, outline level and outline numbers automatically. If ParentProject.CalculationMode is Automatic the method reschedules all project's tasks automatically (start/finish dates, sets early/late dates, calculates slacks, work and cost fields, recalculates ids and outline levels).

Parameters
beforeTaskTask before which the current task will be inserted.

◆ MoveToSibling() [2/2]

void Aspose::Tasks::Task::MoveToSibling ( int32_t  beforeTaskId)

Moves the current task at the same Outline Level before a task with the specified Id. If ParentProject.CalculationMode is None user should invoke Project.Recalculate() after using this method (It will reschedule all project tasks (start/finish dates, sets early/late dates) and calculate the dependent fields such as slacks, work and cost fields, outline levels). If ParentProject.CalculationMode is Manual the method will calculate only task id, outline level and outline numbers automatically. If ParentProject.CalculationMode is Automatic the method reschedules all project's tasks automatically (start/finish dates, sets early/late dates, calculates slacks, work and cost fields, recalculates ids and outline levels).

Parameters
beforeTaskIdId (Tsk::Id) of a task before which the current task will be inserted.

◆ OutlineIndent()

void Aspose::Tasks::Task::OutlineIndent ( )

Indents a task in the outline.

◆ OutlineOutdent()

void Aspose::Tasks::Task::OutlineOutdent ( )

Promotes a task in the outline.

◆ SelectAllChildTasks()

System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Task> > > Aspose::Tasks::Task::SelectAllChildTasks ( )

Recursively collects all child tasks of this task.

Returns
A list of child tasks of this task.

◆ Set()

template<typename T >
void Aspose::Tasks::Task::Set ( const Key< T, TaskKey > &  key,
const T &  val 
)
inline

Maps the specified property to the specified value in this container.

Parameters
keythe specified property key. Tsk for getting the property key.
valthe value.
Template Parameters
Tthe type of the mapped value.

◆ set_ActivityId()

void Aspose::Tasks::Task::set_ActivityId ( const System::String &  value)

Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects).

◆ set_ActualCost()

void Aspose::Tasks::Task::set_ActualCost ( System::Decimal  value)

Sets a value of ActualCost.

◆ set_ActualDuration()

void Aspose::Tasks::Task::set_ActualDuration ( Aspose::Tasks::Duration  value)

Sets a value of ActualDuration.

◆ set_ActualFinish()

void Aspose::Tasks::Task::set_ActualFinish ( System::DateTime  value)

Sets a value of ActualFinish.

◆ set_ActualOvertimeCost()

void Aspose::Tasks::Task::set_ActualOvertimeCost ( System::Decimal  value)

Sets a value of ActualOvertimeCost.

◆ set_ActualOvertimeWork()

void Aspose::Tasks::Task::set_ActualOvertimeWork ( Aspose::Tasks::Duration  value)

Sets a value of ActualOvertimeWork.

◆ set_ActualOvertimeWorkProtected()

void Aspose::Tasks::Task::set_ActualOvertimeWorkProtected ( Aspose::Tasks::Duration  value)

Sets a value of ActualOvertimeWorkProtected.

◆ set_ActualStart()

void Aspose::Tasks::Task::set_ActualStart ( System::DateTime  value)

Sets a value of ActualStart.

◆ set_ActualWork()

void Aspose::Tasks::Task::set_ActualWork ( Aspose::Tasks::Duration  value)

Sets a value of ActualWork.

◆ set_ActualWorkProtected()

void Aspose::Tasks::Task::set_ActualWorkProtected ( Aspose::Tasks::Duration  value)

Sets a value of ActualWorkProtected.

◆ set_ACWP()

void Aspose::Tasks::Task::set_ACWP ( double  value)

Sets a value of ACWP.

◆ set_Baselines()

void Aspose::Tasks::Task::set_Baselines ( const System::SharedPtr< TaskBaselineCollection > &  value)

Sets the collection of baseline values of the task.

◆ set_BCWP()

void Aspose::Tasks::Task::set_BCWP ( double  value)

Sets a value of BCWP.

◆ set_BCWS()

void Aspose::Tasks::Task::set_BCWS ( double  value)

Sets a value of BCWS.

◆ set_BudgetCost()

void Aspose::Tasks::Task::set_BudgetCost ( System::Decimal  value)

Sets a value of BudgetCost.

◆ set_BudgetWork()

void Aspose::Tasks::Task::set_BudgetWork ( Aspose::Tasks::Duration  value)

Sets a value of BudgetWork.

◆ set_Calendar()

void Aspose::Tasks::Task::set_Calendar ( const System::SharedPtr< Aspose::Tasks::Calendar > &  value)

Sets a value of Calendar.

◆ set_CommitmentFinish()

void Aspose::Tasks::Task::set_CommitmentFinish ( System::DateTime  value)

Sets a value of CommitmentFinish.

◆ set_CommitmentStart()

void Aspose::Tasks::Task::set_CommitmentStart ( System::DateTime  value)

Sets a value of CommitmentStart.

◆ set_CommitmentType()

void Aspose::Tasks::Task::set_CommitmentType ( int32_t  value)

Sets a value of CommitmentType.

◆ set_ConstraintDate()

void Aspose::Tasks::Task::set_ConstraintDate ( System::DateTime  value)

Sets a value of ConstraintDate.

◆ set_ConstraintType()

void Aspose::Tasks::Task::set_ConstraintType ( Aspose::Tasks::ConstraintType  value)

Sets a value of ConstraintType.

◆ set_Contact()

void Aspose::Tasks::Task::set_Contact ( const System::String &  value)

Sets a value of Contact.

◆ set_Cost()

void Aspose::Tasks::Task::set_Cost ( System::Decimal  value)

Sets a value of Cost.

◆ set_CostVariance()

void Aspose::Tasks::Task::set_CostVariance ( double  value)

Sets a value of CostVariance.

◆ set_Created()

void Aspose::Tasks::Task::set_Created ( System::DateTime  value)

Sets a value of Created.

◆ set_CV()

void Aspose::Tasks::Task::set_CV ( double  value)

Sets a value of CV.

◆ set_Deadline()

void Aspose::Tasks::Task::set_Deadline ( System::DateTime  value)

Sets a value of Deadline.

◆ set_DisplayAsSummary()

void Aspose::Tasks::Task::set_DisplayAsSummary ( NullableBool  value)

Sets a value indicating whether DisplayAsSummary is set or not.

◆ set_DisplayOnTimeline()

void Aspose::Tasks::Task::set_DisplayOnTimeline ( bool  value)

Sets a value indicating whether DisplayOnTimeline is set or not.

◆ set_Duration()

void Aspose::Tasks::Task::set_Duration ( Aspose::Tasks::Duration  value)

Sets a value of Duration.

◆ set_DurationFormat()

void Aspose::Tasks::Task::set_DurationFormat ( TimeUnitType  value)

Sets a value of DurationFormat.

◆ set_DurationText()

void Aspose::Tasks::Task::set_DurationText ( const System::String &  value)

Sets a value of DurationText.

◆ set_DurationVariance()

void Aspose::Tasks::Task::set_DurationVariance ( Aspose::Tasks::Duration  value)

Sets a value of DurationVariance.

◆ set_EarlyFinish()

void Aspose::Tasks::Task::set_EarlyFinish ( System::DateTime  value)

Sets a value of EarlyFinish.

◆ set_EarlyStart()

void Aspose::Tasks::Task::set_EarlyStart ( System::DateTime  value)

Sets a value of EarlyStart.

◆ set_EarnedValueMethod()

void Aspose::Tasks::Task::set_EarnedValueMethod ( EarnedValueMethodType  value)

Sets a value of EarnedValueMethod.

◆ set_ExternalId()

void Aspose::Tasks::Task::set_ExternalId ( int32_t  value)

Sets a value of ExternalId.

◆ set_ExternalTaskProject()

void Aspose::Tasks::Task::set_ExternalTaskProject ( const System::String &  value)

Sets a value of ExternalTaskProject.

◆ set_ExternalUid()

void Aspose::Tasks::Task::set_ExternalUid ( int32_t  value)

Gets or set the external task's Unique identifier when the task is external.

◆ set_Finish()

void Aspose::Tasks::Task::set_Finish ( System::DateTime  value)

Sets a value of Finish.

◆ set_FinishSlack()

void Aspose::Tasks::Task::set_FinishSlack ( System::TimeSpan  value)

Sets a value of FinishSlack.

◆ set_FinishText()

void Aspose::Tasks::Task::set_FinishText ( const System::String &  value)

Sets a value of FinishText.

◆ set_FinishVariance()

void Aspose::Tasks::Task::set_FinishVariance ( Aspose::Tasks::Duration  value)

Sets a value of FinishVariance.

◆ set_FixedCost()

void Aspose::Tasks::Task::set_FixedCost ( double  value)

Sets a value of FixedCost.

◆ set_FixedCostAccrual()

void Aspose::Tasks::Task::set_FixedCostAccrual ( CostAccrualType  value)

Sets a value of FixedCostAccrual.

◆ set_FreeSlack()

void Aspose::Tasks::Task::set_FreeSlack ( System::TimeSpan  value)

Sets a value of FreeSlack.

◆ set_Guid()

void Aspose::Tasks::Task::set_Guid ( const System::String &  value)

Sets a value of Guid.

◆ set_HideBar()

void Aspose::Tasks::Task::set_HideBar ( NullableBool  value)

Sets a value indicating whether HideBar is set or not.

◆ set_Hyperlink()

void Aspose::Tasks::Task::set_Hyperlink ( System::String  value)
override

Sets the title or explanatory text for a hyperlink associated with a task.

◆ set_HyperlinkAddress()

void Aspose::Tasks::Task::set_HyperlinkAddress ( System::String  value)
override

Sets the address for a hyperlink associated with a task.

The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.

◆ set_HyperlinkSubAddress()

void Aspose::Tasks::Task::set_HyperlinkSubAddress ( System::String  value)
override

Sets the specific location in a document in a hyperlink associated with a task.

The full address (Hyperlink Href in Microsoft Project) of the hyperlink is a concatenation of HyperlinkAddress and HyperlinkSubAddress.

◆ set_Id()

void Aspose::Tasks::Task::set_Id ( int32_t  value)

Sets a value of Id.

◆ set_IgnoreResourceCalendar()

void Aspose::Tasks::Task::set_IgnoreResourceCalendar ( NullableBool  value)

Sets a value indicating whether IgnoreResourceCalendar is set or not.

◆ set_IgnoreWarnings()

void Aspose::Tasks::Task::set_IgnoreWarnings ( bool  value)

Sets a value indicating whether IgnoreWarnings is set or not.

◆ set_IsActive()

void Aspose::Tasks::Task::set_IsActive ( NullableBool  value)

Sets a value indicating whether IsActive is set or not.

◆ set_IsCritical()

void Aspose::Tasks::Task::set_IsCritical ( NullableBool  value)

Sets a value indicating whether IsCritical is set or not.

◆ set_IsEffortDriven()

void Aspose::Tasks::Task::set_IsEffortDriven ( NullableBool  value)

Sets a value indicating whether IsEffortDriven is set or not.

◆ set_IsEstimated()

void Aspose::Tasks::Task::set_IsEstimated ( NullableBool  value)

Sets a value indicating whether IsEstimated is set or not.

◆ set_IsExpanded()

void Aspose::Tasks::Task::set_IsExpanded ( NullableBool  value)

Sets a value indicating whether IsExpanded is set or not.

◆ set_IsExternalTask()

void Aspose::Tasks::Task::set_IsExternalTask ( bool  value)

Sets a value indicating whether IsExternalTask is set or not.

◆ set_IsManual()

void Aspose::Tasks::Task::set_IsManual ( NullableBool  value)

Sets a value indicating whether IsManual is set or not.

◆ set_IsMarked()

void Aspose::Tasks::Task::set_IsMarked ( bool  value)

Sets a value indicating whether IsMarked is set or not.

◆ set_IsMilestone()

void Aspose::Tasks::Task::set_IsMilestone ( NullableBool  value)

Sets a value indicating whether IsMilestone is set or not.

◆ set_IsNull()

void Aspose::Tasks::Task::set_IsNull ( NullableBool  value)

Sets a value indicating whether IsNull is set or not.

◆ set_IsOverallocated()

void Aspose::Tasks::Task::set_IsOverallocated ( NullableBool  value)

Sets a value indicating whether IsOverallocated is set or not.

◆ set_IsPublished()

void Aspose::Tasks::Task::set_IsPublished ( NullableBool  value)

Sets a value indicating whether IsPublished is set or not.

◆ set_IsRecurring()

void Aspose::Tasks::Task::set_IsRecurring ( NullableBool  value)

Sets a value indicating whether IsRecurring is set or not.

◆ set_IsResumeValid()

void Aspose::Tasks::Task::set_IsResumeValid ( NullableBool  value)

Sets a value indicating whether IsResumeValid is set or not.

◆ set_IsRollup()

void Aspose::Tasks::Task::set_IsRollup ( NullableBool  value)

Sets a value indicating whether IsRollup is set or not.

◆ set_IsSubproject()

void Aspose::Tasks::Task::set_IsSubproject ( bool  value)

Sets a value indicating whether IsSubproject is set or not.

◆ set_IsSubprojectReadOnly()

void Aspose::Tasks::Task::set_IsSubprojectReadOnly ( NullableBool  value)

Sets a value indicating whether IsSubprojectReadOnly is set or not.

◆ set_IsSummary()

void Aspose::Tasks::Task::set_IsSummary ( bool  value)

Sets a value indicating whether IsSummary is set or not.

◆ set_LateFinish()

void Aspose::Tasks::Task::set_LateFinish ( System::DateTime  value)

Sets a value of LateFinish.

◆ set_LateStart()

void Aspose::Tasks::Task::set_LateStart ( System::DateTime  value)

Sets a value of LateStart.

◆ set_LevelAssignments()

void Aspose::Tasks::Task::set_LevelAssignments ( NullableBool  value)

Sets a value indicating whether LevelAssignments is set or not.

◆ set_LevelingCanSplit()

void Aspose::Tasks::Task::set_LevelingCanSplit ( NullableBool  value)

Sets a value indicating whether LevelingCanSplit is set or not.

◆ set_LevelingDelay()

void Aspose::Tasks::Task::set_LevelingDelay ( Aspose::Tasks::Duration  value)

Sets a value of LevelingDelay.

◆ set_ManualDuration()

void Aspose::Tasks::Task::set_ManualDuration ( Aspose::Tasks::Duration  value)

Sets a value of ManualDuration.

◆ set_ManualFinish()

void Aspose::Tasks::Task::set_ManualFinish ( System::DateTime  value)

Sets a value of ManualFinish.

◆ set_ManualStart()

void Aspose::Tasks::Task::set_ManualStart ( System::DateTime  value)

Sets a value of ManualStart.

◆ set_Name()

void Aspose::Tasks::Task::set_Name ( const System::String &  value)

Sets a value of Name.

◆ set_NotesRTF()

void Aspose::Tasks::Task::set_NotesRTF ( System::String  value)
override

Sets a value of NotesRTF.

◆ set_NotesText()

void Aspose::Tasks::Task::set_NotesText ( System::String  value)
override

Sets a value of NotesText.

◆ set_OutlineCodes()

void Aspose::Tasks::Task::set_OutlineCodes ( const System::SharedPtr< OutlineCodeCollection > &  value)

Sets OutlineCodeCollection object.

Two pieces of data are necessary - a pointer to the outline code table that is specified by the FieldID, and the value that is specified either by the ValueID or ValueGUID pointer to the value list.

◆ set_OutlineLevel()

void Aspose::Tasks::Task::set_OutlineLevel ( int32_t  value)

Sets a value of OutlineLevel.

◆ set_OutlineNumber()

void Aspose::Tasks::Task::set_OutlineNumber ( const System::String &  value)

Sets a value of OutlineNumber.

◆ set_OvertimeCost()

void Aspose::Tasks::Task::set_OvertimeCost ( System::Decimal  value)

Sets a value of OvertimeCost.

◆ set_OvertimeWork()

void Aspose::Tasks::Task::set_OvertimeWork ( Aspose::Tasks::Duration  value)

Sets a value of OvertimeWork.

◆ set_PercentComplete()

void Aspose::Tasks::Task::set_PercentComplete ( int32_t  value)

Sets a value of PercentComplete.

◆ set_PercentWorkComplete()

void Aspose::Tasks::Task::set_PercentWorkComplete ( int32_t  value)

Sets a value of PercentWorkComplete.

◆ set_PhysicalPercentComplete()

void Aspose::Tasks::Task::set_PhysicalPercentComplete ( int32_t  value)

Sets a value of PhysicalPercentComplete.

◆ set_PreleveledFinish()

void Aspose::Tasks::Task::set_PreleveledFinish ( System::DateTime  value)

Sets a value of PreleveledFinish.

◆ set_PreleveledStart()

void Aspose::Tasks::Task::set_PreleveledStart ( System::DateTime  value)

Sets a value of PreleveledStart.

◆ set_Priority()

void Aspose::Tasks::Task::set_Priority ( int32_t  value)

Sets a value of Priority.

◆ set_RegularWork()

void Aspose::Tasks::Task::set_RegularWork ( Aspose::Tasks::Duration  value)

Sets a value of RegularWork.

◆ set_RemainingCost()

void Aspose::Tasks::Task::set_RemainingCost ( System::Decimal  value)

Sets a value of RemainingCost.

◆ set_RemainingDuration()

void Aspose::Tasks::Task::set_RemainingDuration ( Aspose::Tasks::Duration  value)

Sets a value of RemainingDuration.

◆ set_RemainingOvertimeCost()

void Aspose::Tasks::Task::set_RemainingOvertimeCost ( System::Decimal  value)

Sets a value of RemainingOvertimeCost.

◆ set_RemainingOvertimeWork()

void Aspose::Tasks::Task::set_RemainingOvertimeWork ( Aspose::Tasks::Duration  value)

Sets a value of RemainingOvertimeWork.

◆ set_RemainingWork()

void Aspose::Tasks::Task::set_RemainingWork ( Aspose::Tasks::Duration  value)

Sets a value of RemainingWork.

◆ set_Resume()

void Aspose::Tasks::Task::set_Resume ( System::DateTime  value)

Sets a value of Resume.

◆ set_Start()

void Aspose::Tasks::Task::set_Start ( System::DateTime  value)

Sets a value of Start.

◆ set_StartSlack()

void Aspose::Tasks::Task::set_StartSlack ( System::TimeSpan  value)

Sets a value of StartSlack.

◆ set_StartText()

void Aspose::Tasks::Task::set_StartText ( const System::String &  value)

Sets a value of StartText.

◆ set_StartVariance()

void Aspose::Tasks::Task::set_StartVariance ( Aspose::Tasks::Duration  value)

Sets a value of StartVariance.

◆ set_StatusManager()

void Aspose::Tasks::Task::set_StatusManager ( const System::String &  value)

Sets a value of StatusManager.

◆ set_Stop()

void Aspose::Tasks::Task::set_Stop ( System::DateTime  value)

Sets a value of Stop.

◆ set_SubprojectName()

void Aspose::Tasks::Task::set_SubprojectName ( const System::String &  value)

Sets a value of SubprojectName.

◆ set_SV()

void Aspose::Tasks::Task::set_SV ( double  value)

The earned value schedule variance, through the project status date. Schedule variance (SV) is the difference between the BCWP and the BCWS.

◆ set_TimephasedData()

void Aspose::Tasks::Task::set_TimephasedData ( const System::SharedPtr< TimephasedDataCollection > &  value)

Sets a TimephasedDataCollection object of this task. The time phased data block associated with a task.

Reading supported for XML format only.

◆ set_TotalSlack()

void Aspose::Tasks::Task::set_TotalSlack ( System::TimeSpan  value)

Sets a value of TotalSlack.

◆ set_Type()

void Aspose::Tasks::Task::set_Type ( TaskType  value)

Sets a value of Type.

◆ set_Uid()

void Aspose::Tasks::Task::set_Uid ( int32_t  value)

Sets a value of Uid.

◆ set_Warning()

void Aspose::Tasks::Task::set_Warning ( bool  value)

Sets a value indicating whether Warning is set or not.

◆ set_WBS()

void Aspose::Tasks::Task::set_WBS ( const System::String &  value)

Sets a value of WBS.

◆ set_WBSLevel()

void Aspose::Tasks::Task::set_WBSLevel ( const System::String &  value)

Sets a value of WBSLevel.

◆ set_Work()

void Aspose::Tasks::Task::set_Work ( Aspose::Tasks::Duration  value)

Sets a value of Work.

◆ set_WorkVariance()

void Aspose::Tasks::Task::set_WorkVariance ( Aspose::Tasks::Duration  value)

Sets a value of WorkVariance.

◆ ToString()

System::String Aspose::Tasks::Task::ToString ( ) const
override

Returns short string representation of a task. The exact details of the representation are unspecified and subject to change.

Returns
short string which represents task object.