Add

Add (1 of 4)

This is the stub implementation of ICollection’s Add method, that only throws NotSupportedException

Returns: void Aspose::Tasks::

Add(const System::SharedPtr< ResourceAssignment > & item)
ParameterDescription
itemThe item to remove.

Add (2 of 4)

Adds new assignment to the ResourceAssignmentCollection .

Returns: Added assignment.

Add(const System::SharedPtr< Task > & task, const System::SharedPtr< Resource > & resource)
ParameterDescription
taskA task to be assigned.
resourceA resource to be assigned.

Add (3 of 4)

Adds new assignment to the ResourceAssignmentCollection .

Returns: Added assignment.

Add(const System::SharedPtr< Task > & task, const System::SharedPtr< Resource > & resource, double units)
ParameterDescription
taskA task to be assigned.
resourceA resource to be assigned.
unitsThe number of units for a new assignment.

Add (4 of 4)

Adds new assignment to the ResourceAssignmentCollection .

Returns: Added assignment.

Add(const System::SharedPtr< Task > & task, const System::SharedPtr< Resource > & resource, System::Decimal cost)
ParameterDescription
taskA task to be assigned.
resourceA cost resource to be assigned.
costThe cost for a new assignment.