System::Reflection::FieldInfo::SetValue metodo

FieldInfo::SetValue method

Imposta il valore della proprietà su un oggetto specifico.

void System::Reflection::FieldInfo::SetValue(const System::SharedPtr<System::Object> &obj, const System::SharedPtr<System::Object> &value)
ParametroTipoDescrizione
objconst System::SharedPtr<System::Object>&Object su cui scrivere la proprietà.
valoreconst System::SharedPtr<System::Object>&Valore della proprietà da impostare.

Vedi anche