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
scriptRunIScriptRunIScriptRunassociated this script method.assemblyAssemblyAssembly containing the given object.
propertystringThe string containing the name of the public property to set.
objobjectThe object whose property value will be processed.
newValueobjectThe new property value.