SetValue()

FieldInfo::SetValue(const System::SharedPtr<System::Object>&, const System::SharedPtr<System::Object>&) method

Sets property value to specific object.

void System::Reflection::FieldInfo::SetValue(const System::SharedPtr<System::Object> &obj, const System::SharedPtr<System::Object> &value)

Arguments

ParameterTypeDescription
objconst System::SharedPtr<System::Object>&Object to write property to.
valueconst System::SharedPtr<System::Object>&Value of property to set.

See Also