System::Reflection::PropertyInfo::SetValue método

PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>) method

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

void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value)
ParámetroTipoDescripción
objSystem::SharedPtr<System::Object>Object para escribir la propiedad en.
valueSystem::SharedPtr<System::Object>Valor de la propiedad a establecer.

Ver también

PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>) method

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

void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
ParámetroTipoDescripción
objSystem::SharedPtr<System::Object>Object para escribir la propiedad en.
indexadorSystem::SharedPtr<System::Object>Estos son valores de índice opcionales para propiedades indexadas. Para propiedades no indexadas, este valor debe ser nulo.
valueSystem::ArrayPtr<System::SharedPtr<System::Object>>Valor de la propiedad a establecer.

Ver también