System::Reflection::PropertyInfo classe

PropertyInfo class

Rappresenta informazioni sulla proprietà.

class PropertyInfo : public System::Reflection::MemberInfo

Metodi

MetodoDescrizione
get_MemberType() const overrideOttiene un valore MemberTypes che indica che questo membro è una proprietà.
get_PropertyType()Ottiene il tipo della proprietà.
GetValue(System::SharedPtr<System::Object>)Ottiene il valore della proprietà da un oggetto specifico.
GetValue(System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)Ottiene il valore della proprietà da un oggetto specifico.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)() const)Costruttore. Proprietà con solo getter const.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)())Costruttore. Proprietà con solo getter non const.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)() const)Costruttore.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)())Costruttore. Proprietà Nullable con setter e getter.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)() const)Costruttore. Proprietà Nullable con solo getter const.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)())Costruttore. Proprietà Object con solo getter.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)())Costruisce le informazioni sulla proprietà stringa.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)() const)Costruisce le informazioni sulla proprietà stringa da una classe con getter const.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)())Costruisce le informazioni sulla proprietà Decimal.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)() const)Costruisce le informazioni sulla proprietà Decimal da una classe con getter const.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)())Costruisce le informazioni sulla proprietà booleana.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)() const)Costruisce informazioni sulla proprietà booleana dalla classe con getter const.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)())Costruisce informazioni sulla proprietà int64_t.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)() const)Costruisce informazioni sulla proprietà int64_t dalla classe con getter const.
set_PropertyType(const TypeInfo&)Imposta il tipo di questa proprietà.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>)Imposta il valore della proprietà su un oggetto specifico.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)Imposta il valore della proprietà su un oggetto specifico.

Vedi anche