## 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.PDF 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.PDF for C++](../../../)
