System::Reflection::PropertyInfo Klasse

PropertyInfo class

Stellt Eigenschaftsinformationen dar.

class PropertyInfo : public System::Reflection::MemberInfo

Methoden

MethodeBeschreibung
get_MemberType() const overrideRuft einen MemberTypes Wert ab, der anzeigt, dass dieses Mitglied eine Eigenschaft ist.
get_PropertyType()Ruft den Eigenschaftstyp ab.
GetValue(System::SharedPtr<System::Object>)Ruft den Eigenschaftswert aus einem bestimmten Objekt ab.
GetValue(System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)Ruft den Eigenschaftswert aus einem bestimmten Objekt ab.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)() const)Konstruktor. Eigenschaft mit nur const Getter.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)())Konstruktor. Eigenschaft mit nur non-const Getter.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)() const)Konstruktor.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)())Konstruktor. Nullable Eigenschaft mit Setter und Getter.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)() const)Konstruktor. Nullable Eigenschaft mit nur const Getter.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)())Konstruktor. Object Eigenschaft mit nur Getter.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)())Erstellt Informationen zur String-Eigenschaft.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)() const)Erstellt Informationen zur String-Eigenschaft aus einer Klasse mit const Getter.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)())Erstellt Decimal Eigenschaftsinformationen.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)() const)Erstellt Decimal Eigenschaftsinformationen aus einer Klasse mit const Getter.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)())Erstellt boolesche Eigenschaftsinformationen.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)() const)Konstruiert boolesche Property-Informationen aus einer Klasse mit const-Getter.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)())Konstruiert int64_t-Property-Informationen.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)() const)Konstruiert int64_t-Property-Informationen aus einer Klasse mit const-Getter.
set_PropertyType(const TypeInfo&)Setzt den Typ dieser Property.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>)Setzt den Eigenschaftswert für ein bestimmtes Objekt.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)Setzt den Eigenschaftswert für ein bestimmtes Objekt.

Siehe auch