System::Reflection::FieldInfo::SetValue método

FieldInfo::SetValue method

Establece el valor de la propiedad en un objeto específico.

void System::Reflection::FieldInfo::SetValue(const System::SharedPtr<System::Object> &obj, const System::SharedPtr<System::Object> &value)
ParámetroTipoDescripción
objconst System::SharedPtr<System::Object>&Object para escribir la propiedad en.
valorconst System::SharedPtr<System::Object>&Valor de la propiedad a establecer.

Ver también