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, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic