◆ SetValue()

static void SetValue ( this MemberInfo  memberInfo,
object  forObject,
object  toValue 
)
static
Parameters
memberInfothis value is automatically set to be the calling MemberInfo's instance. (Since this is an Extension Method, extending theMemberInfo class)
forObjectthis parameters references the object we will be looking inside. Is it this instance we will be getting the memberInfo's value from.
toValueobject that represents the value to be assigned.