
## set_Task {#set_task}

The task to which a resource is assigned.

**Returns:** void Aspose::Tasks::

```cpp
set_Task(const System::SharedPtr< Aspose::Tasks::Task > & value)
```

| Parameter | Description |
| --- | --- |
| value |  |

