Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FieldInfo.SetValue Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSetValue(Object, Object)

Sets the value of the field supported by the given object.

System_CAPS_pubmethodSetValue(Object, Object, BindingFlags, Binder, CultureInfo)

When overridden in a derived class, sets the value of the field supported by the given object.

Return to top
Show:
© 2017 Microsoft