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


特定のオブジェクトにプロパティの値を設定します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | プロパティを書き込むための [Object](../../../system/object/) |
| value | System::SharedPtr\<System::Object\> | 設定するプロパティの値。 |

## 参照

* 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


特定のオブジェクトにプロパティの値を設定します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | プロパティを書き込むための [Object](../../../system/object/) |
| インデクサ | System::SharedPtr\<System::Object\> | これらはインデックス付きプロパティのオプションのインデックス値です。インデックスなしプロパティの場合、この値は null にする必要があります。 |
| value | System::ArrayPtr\<System::SharedPtr\<System::Object\>\> | 設定するプロパティの値。 |

## 参照

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