Κλάση 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)Κατασκευαστής. Ιδιότητα με μόνο const getter.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)())Κατασκευαστής. Ιδιότητα με μόνο non-const 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 με setter και getter.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)() const)Κατασκευαστής. Ιδιότητα Nullable με μόνο const getter.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)())Κατασκευαστής. Ιδιότητα Object με μόνο getter.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)())Δημιουργεί πληροφορίες ιδιότητας τύπου string.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)() const)Δημιουργεί πληροφορίες ιδιότητας τύπου string από κλάση με const getter.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)())Δημιουργεί πληροφορίες ιδιότητας Decimal.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)() const)Δημιουργεί πληροφορίες ιδιότητας Decimal από κλάση με const getter.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)())Δημιουργεί πληροφορίες ιδιότητας boolean.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)() const)Δημιουργεί πληροφορίες ιδιότητας boolean από κλάση με 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 από κλάση με const 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>>)Ορίζει την τιμή της ιδιότητας σε συγκεκριμένο αντικείμενο.

Δείτε επίσης