Sets the field on an object. This is a simple method that uses straight Reflection and doesn't support indexers.
public static void SetField(object obj, string property, object value)
Parameters
obj
Object to set property on
property
Name of the field to set
value
value to set it to
See also:
Class ReflectionUtils© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic