Method SetPropertyValue
SetPropertyValue(IScriptRun, Assembly, string, object, object)
Sets the property value for a specified object.
public static void SetPropertyValue(IScriptRun scriptRun, Assembly assembly, string property, object obj, object newValue)
Parameters
scriptRun
IScriptRunIScriptRun
associated this script method.assembly
AssemblyAssembly containing the given object.
property
stringThe string containing the name of the public property to set.
obj
objectThe object whose property value will be processed.
newValue
objectThe new property value.