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, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic