System::Reflection::PropertyInfo::GetValue method

PropertyInfo::GetValue(System::SharedPtr<System::Object>) method

Ottiene il valore della proprietà da un oggetto specifico.

System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj)
ParametroTipoDescrizione
objSystem::SharedPtr<System::Object>Object da cui leggere la proprietà.

ReturnValue

Valore della proprietà specificata per l’oggetto specificato.

Vedi anche

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

Ottiene il valore della proprietà da un oggetto specifico.

System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
ParametroTipoDescrizione
objSystem::SharedPtr<System::Object>Object da cui leggere la proprietà.
indicizzatoreSystem::ArrayPtr<System::SharedPtr<System::Object>>Questi sono valori di indice opzionali per le proprietà indicizzate. Per le proprietà non indicizzate, questo valore dovrebbe essere nullo.

ReturnValue

Valore della proprietà specificata per l’oggetto specificato.

Vedi anche