## ParameterInfo::SetOptional method


Sets the optional flag.

```cpp
void System::Reflection::ParameterInfo::SetOptional(bool value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | bool | true if the parameter is optional; otherwise, false. |

## See Also

* Class [ParameterInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.TeX for C++](../../../)
