System::Reflection::PropertyInfo::SetValue метод
Содержание
[
Скрывать
]PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>) method
Устанавливает значение свойства в конкретный объект.
void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value)
| Параметр | Тип | Описание |
|---|---|---|
| obj | System::SharedPtr<System::Object> | Object для записи свойства в. |
| значение | System::SharedPtr<System::Object> | Значение свойства для установки. |
См. также
- Typedef SharedPtr
- Class Object
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.Font for C++
PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>) method
Устанавливает значение свойства в конкретный объект.
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::SharedPtr<System::Object> | Это необязательные значения индекса для индексированных свойств. Для неиндексированных свойств это значение должно быть null. |
| значение | System::ArrayPtr<System::SharedPtr<System::Object>> | Значение свойства для установки. |
См. также
- Typedef SharedPtr
- Class Object
- Typedef ArrayPtr
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.Font for C++