This documentation is archived and is not being maintained.

FieldInfo.SetValue Method

Sets the value of the field for the given object to the given value.

Name Description
FieldInfo.SetValue (Object, Object) Sets the value of the field supported by the given object.

Supported by the .NET Compact Framework.

FieldInfo.SetValue (Object, Object, BindingFlags, Binder, CultureInfo) When overridden in a derived class, sets the value of the field supported by the given object.

Supported by the .NET Compact Framework.

Show: