Sets the value of a field or property via Reflection. This method alws for using '.' syntax to specify objects multiple levels down.
ReflectionUtils.SetPropertyEx(this,"Invoice.LineItemsCount",10)
which would be equivalent of:
Invoice.LineItemsCount = 10;
public static object SetPropertyExCom(object parent, string property, object value)
Parameters
parent
property
value
See also:
Class ReflectionUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic