System::Reflection::PropertyInfo::GetValue method

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)
ParameterTypeDescription
objSystem::SharedPtr<System::Object>Object to read property from.

ReturnValue

Value of specified property for specified object.

See Also

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)
ParameterTypeDescription
objSystem::SharedPtr<System::Object>Object to read property from.
indexerSystem::ArrayPtr<System::SharedPtr<System::Object>>These are optional index values for indexed properties. For non-indexed properties, this value should be null.

ReturnValue

Value of specified property for specified object.

See Also