ReflectionUtils.SetField

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