GetValue()
PropertyInfo::GetValue(System::SharedPtr<System::Object>) method
Gets property value from specific object.
System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj)
Arguments
Parameter | Type | Description |
---|---|---|
obj | System::SharedPtr<System::Object> | Object to read property from. |
Return Value
Value of specified property for specified object.
PropertyInfo::GetValue(System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>) method
Gets property value from specific object.
System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
Arguments
Parameter | Type | Description |
---|---|---|
obj | System::SharedPtr<System::Object> | Object to read property from. |
indexer | System::ArrayPtr<System::SharedPtr<System::Object>> | These are optional index values for indexed properties. For non-indexed properties, this value should be null. |
Return Value
Value of specified property for specified object.
See Also
- Typedef SharedPtr
- Typedef ArrayPtr
- Class Object
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.Slides