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)
معاملنوعالوصف
objSystem::SharedPtr<System::Object>Object لكتابة الخاصية إليه.
قيمةSystem::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)
معاملنوعالوصف
objSystem::SharedPtr<System::Object>Object لكتابة الخاصية إليه.
فهرسSystem::SharedPtr<System::Object>هذه قيم فهرسة اختيارية للخصائص المفهرسة. بالنسبة للخصائص غير المفهرسة، يجب أن تكون هذه القيمة فارغة.
قيمةSystem::ArrayPtr<System::SharedPtr<System::Object>>قيمة الخاصية التي سيتم تعيينها.

انظر أيضًا