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
scriptRun
IScriptRunIScriptRun
associated this script method.assembly
AssemblyAssembly containing the given object.
property
stringThe string containing the name of the public property to get.
obj
objectThe object whose property value will be processed.
index
object[]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.