Method GetPropertyValue
GetPropertyValue(IScriptRun, Assembly, string, object, object[])
Returns the property value of a specified object.
public static object GetPropertyValue(IScriptRun scriptRun, Assembly assembly, string property, object obj, object[] index = null)
Parameters
scriptRunIScriptRunIScriptRunassociated this script method.assemblyAssemblyAssembly containing the given object.
propertystringThe string containing the name of the public property to get.
objobjectThe object whose property value will be processed.
indexobject[]Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be null for non-indexed properties.
Returns
- object
The property value of the specified object.