
## Set (1 of 2) {#set_1}

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

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

```cpp
Set(const Key < System::DateTime, PrjKey > & key, const System::DateTime & val)
```

| Parameter | Description |
| --- | --- |
| key | the specified property key. Prj for getting the property key. |
| val | the value. |

---

## Set (2 of 2) {#set_2}

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

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

```cpp
Set(const Key < T, PrjKey > & key, const T & val)
```

| Parameter | Description |
| --- | --- |
| key | the specified property key. Prj for getting the property key. |
| val | the value. |

