---
title: "System::Reflection::ParameterInfo::SetParameterType method"
url: "https://reference.aspose.com/pdf/cpp/system.reflection/parameterinfo/setparametertype/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Reflection::ParameterInfo::SetParameterType method. Sets the type of the parameter in C++."
---

## ParameterInfo::SetParameterType method


Sets the type of the parameter.

```cpp
void System::Reflection::ParameterInfo::SetParameterType(const TypeInfo &type)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | const TypeInfo\& | Parameter type. |

## See Also

* Class [TypeInfo](../../../system/typeinfo/)
* Class [ParameterInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.PDF for C++](../../../)
