System::Reflection::PropertyInfo فئة

PropertyInfo class

يمثل معلومات الخاصية.

class PropertyInfo : public System::Reflection::MemberInfo

الطرق

طريقةالوصف
get_MemberType() const overrideيحصل على قيمة MemberTypes تشير إلى أن هذا العضو هو خاصية.
get_PropertyType()يحصل على نوع الخاصية.
GetValue(System::SharedPtr<System::Object>)يحصل على قيمة الخاصية من كائن محدد.
GetValue(System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)يحصل على قيمة الخاصية من كائن محدد.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)() const)منشئ. خاصية ذات getter ثابت فقط.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)())منشئ. خاصية ذات getter غير ثابت فقط.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)() const)المُنشئ.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)())منشئ. خاصية Nullable مع مُعيّن ومُستخرج.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)() const)منشئ. خاصية Nullable مع getter ثابت فقط.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)())منشئ. خاصية Object مع getter فقط.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)())يبني معلومات خاصية السلسلة.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)() const)يبني معلومات خاصية السلسلة من فئة ذات getter ثابت.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)())يبني معلومات خاصية Decimal.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)() const)يبني معلومات خاصية Decimal من فئة ذات getter ثابت.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)())يبني معلومات خاصية منطقية.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)() const)يبني معلومات خاصية منطقية من الفئة باستخدام getter ثابت.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)())يبني معلومات خاصية int64_t.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)() const)يبني معلومات خاصية int64_t من الفئة باستخدام getter ثابت.
set_PropertyType(const TypeInfo&)يضبط نوع هذه الخاصية.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>)يضبط قيمة الخاصية إلى كائن محدد.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)يضبط قيمة الخاصية إلى كائن محدد.

انظر أيضًا