System::Reflection::PropertyInfo::SetValue method
Contents
[
Hide
]PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>) method
Sets property value to specific object.
void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value)
Parameter | Type | Description |
---|---|---|
obj | System::SharedPtr<System::Object> | Object to write property to. |
value | System::SharedPtr<System::Object> | Value of property to set. |
See Also
- Typedef SharedPtr
- Class Object
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.PUB for C++
PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>) method
Sets property value to specific object.
void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
Parameter | Type | Description |
---|---|---|
obj | System::SharedPtr<System::Object> | Object to write property to. |
indexer | System::SharedPtr<System::Object> | These are optional index values for indexed properties. For non-indexed properties, this value should be null. |
value | System::ArrayPtr<System::SharedPtr<System::Object>> | Value of property to set. |
See Also
- Typedef SharedPtr
- Class Object
- Typedef ArrayPtr
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.PUB for C++