Skip to content

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 ​

NameDescription
caseSensitivePropNameIf false, performs a case-insensitive property lookup.
objThe object instance to inspect.
propertyThe name of the property to retrieve. Defaults to "Value".

Returns ​

The value of the specified property.