metode System::Reflection::PropertyInfo::SetValue

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

Mengatur nilai properti ke objek tertentu.

void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value)
ParameterTipeDeskripsi
objSystem::SharedPtr<System::Object>Object untuk menulis properti ke.
valueSystem::SharedPtr<System::Object>Nilai properti yang akan diatur.

Lihat Juga

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

Mengatur nilai properti ke objek tertentu.

void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
ParameterTipeDeskripsi
objSystem::SharedPtr<System::Object>Object untuk menulis properti ke.
indeksSystem::SharedPtr<System::Object>Ini adalah nilai indeks opsional untuk properti yang diindeks. Untuk properti yang tidak diindeks, nilai ini harus null.
valueSystem::ArrayPtr<System::SharedPtr<System::Object>>Nilai properti yang akan diatur.

Lihat Juga