System::Reflection::PropertyInfo::SetValue طريقة

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

يضبط قيمة الخاصية لكائن محدد.

void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value)
ParameterTypeالوصف
objSystem::SharedPtr<System::Object>Object للكتابة إلى الخاصية.
valueSystem::SharedPtr<System::Object>قيمة الخاصية التي سيتم ضبطها.

انظر أيضًا

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

يضبط قيمة الخاصية لكائن محدد.

void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
ParameterTypeالوصف
objSystem::SharedPtr<System::Object>Object للكتابة إلى الخاصية.
فهرسSystem::SharedPtr<System::Object>هذه قيم فهرسة اختيارية للخصائص المفهرسة. بالنسبة للخصائص غير المفهرسة، يجب أن تكون هذه القيمة فارغة.
valueSystem::ArrayPtr<System::SharedPtr<System::Object>>قيمة الخاصية التي سيتم ضبطها.

انظر أيضًا