ResourceCollection
ResourceCollection class
Represents a collection of Resource objects.
The ResourceCollection type exposes the following members:
Properties
| Name | Description |
|---|---|
| parent_project | Gets the parent project of the ResourceCollection object. |
Methods
| Name | Description |
|---|---|
| add() | Adds new resource at the last position of a project resources collection. |
| add(resource_name) | Adds new resource at the last position of a project resources collection. |
| add(resource_name, before_resource_id) | |
| to_list() | Converts the ResourceCollection object to a list of Resource objects. |
| get_by_id(id) | Returns a resource with the specified id. |
| get_by_uid(uid) | Returns a resource with the specified Uid. |
See Also
- namespace aspose.tasks
- assembly Aspose.Tasks