
## set_RestrictValues {#set_restrictvalues}

Sets a value indicating whether the custom field values are restricted to values in the ValueList .

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

```cpp
set_RestrictValues(bool value)
```

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

