Appearance
GetValue Method
Definition
- Namespace:
JASE - Assembly:
JASE.ReflectionTools.dll
object GetValue(object obj, string property = null, bool caseSensitivePropName = null)
csharp
object GetValue(object obj, string property = null, bool caseSensitivePropName = null)Gets the value of a specified property from the provided object using reflection.
Parameters
| Name | Description |
|---|---|
caseSensitivePropName | If false, performs a case-insensitive property lookup. |
obj | The object instance to inspect. |
property | The name of the property to retrieve. Defaults to "Value". |
Returns
The value of the specified property.