ReflectionUtils.SetPropertyExCom

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, 2019 • Updated: 06/23/19
Comment or report problem with topic