System::Reflection::PropertyInfo classe

PropertyInfo class

Représente les informations de propriété.

class PropertyInfo : public System::Reflection::MemberInfo

Méthodes

MéthodeDescription
get_MemberType() const overrideObtient une valeur MemberTypes indiquant que ce membre est une propriété.
get_PropertyType()Obtient le type de la propriété.
GetValue(System::SharedPtr<System::Object>)Obtient la valeur de la propriété à partir d’un objet spécifique.
GetValue(System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)Obtient la valeur de la propriété à partir d’un objet spécifique.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)() const)Constructeur. Propriété avec uniquement un getter const.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)())Constructeur. Propriété avec uniquement un getter non-const.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)() const)Constructeur.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)())Constructeur. Propriété Nullable avec setter et getter.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)() const)Constructeur. Propriété Nullable avec uniquement un getter const.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)())Constructeur. Propriété Object avec uniquement un getter.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)())Construit les informations de propriété de chaîne.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)() const)Construit les informations de propriété de chaîne à partir d’une classe avec getter const.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)())Construit les informations de propriété Decimal.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)() const)Construit les informations de propriété Decimal à partir d’une classe avec getter const.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)())Construit les informations de propriété booléenne.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)() const)Construit les informations de propriété booléenne à partir d’une classe avec getter const.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)())Construit les informations de propriété int64_t.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)() const)Construit les informations de propriété int64_t à partir d’une classe avec getter const.
set_PropertyType(const TypeInfo&)Définit le type de cette propriété.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>)Définit la valeur de la propriété pour un objet spécifique.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)Définit la valeur de la propriété pour un objet spécifique.

Voir aussi