## PropertyInfo::SetValue(System::SharedPtr\<System::Object\>, System::SharedPtr\<System::Object\>) method


Imposta il valore della proprietà su un oggetto specifico.

```cpp
void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | [Object](../../../system/object/) su cui scrivere la proprietà. |
| value | System::SharedPtr\<System::Object\> | Valore della proprietà da impostare. |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [PropertyInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.Page for C++](../../../)
## PropertyInfo::SetValue(System::SharedPtr\<System::Object\>, System::SharedPtr\<System::Object\>, System::ArrayPtr\<System::SharedPtr\<System::Object\>\>) method


Imposta il valore della proprietà su un oggetto specifico.

```cpp
void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | [Object](../../../system/object/) su cui scrivere la proprietà. |
| indicizzatore | System::SharedPtr\<System::Object\> | Questi sono valori di indice opzionali per le proprietà indicizzate. Per le proprietà non indicizzate, questo valore dovrebbe essere nullo. |
| value | System::ArrayPtr\<System::SharedPtr\<System::Object\>\> | Valore della proprietà da impostare. |

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PropertyInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.Page for C++](../../../)
