Metode System::Reflection::PropertyInfo::GetValue

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

Mendapatkan nilai properti dari objek tertentu.

System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj)
ParameterTipeDeskripsi
objSystem::SharedPtr<System::Object>Object untuk membaca properti dari.

ReturnValue

Nilai properti yang ditentukan untuk objek yang ditentukan.

Lihat Juga

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

Mendapatkan nilai properti dari objek tertentu.

System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
ParameterTipeDeskripsi
objSystem::SharedPtr<System::Object>Object untuk membaca properti dari.
indeksSystem::ArrayPtr<System::SharedPtr<System::Object>>Ini adalah nilai indeks opsional untuk properti yang diindeks. Untuk properti yang tidak diindeks, nilai ini harus null.

ReturnValue

Nilai properti yang ditentukan untuk objek yang ditentukan.

Lihat Juga