System::Reflection::PropertyInfo class

PropertyInfo class

Represents property information.

class PropertyInfo : public System::Reflection::MemberInfo

Methods

MethodDescription
get_MemberType() const overrideGets a MemberTypes value indicating that this member is a property.
get_PropertyType()Gets property type.
GetValue(System::SharedPtr<System::Object>)Gets property value from specific object.
GetValue(System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)Gets property value from specific object.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)() const)Constructor. Property with only const getter.
PropertyInfo(String, System::SharedPtr<PropertyType>(ClassType::*)())Constructor. Property with only non-const getter.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)() const)Constructor.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)())Constructor. Nullable property with setter and getter.
PropertyInfo(String, void(ClassType::)(System::Nullable<NullableType>), System::Nullable<NullableType>(ClassType::)() const)Constructor. Nullable property with const getter only.
PropertyInfo(String, void(ClassType::)(System::SharedPtr<PropertyType>), System::SharedPtr<PropertyType>(ClassType::)())Constructor. Object property with getter only.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)())Constructs string property information.
PropertyInfo(String, void(ClassType::)(System::String), System::String(ClassType::)() const)Constructs string property information from class with const getter.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)())Constructs Decimal property information.
PropertyInfo(String, void(ClassType::)(System::Decimal), System::Decimal(ClassType::)() const)Constructs Decimal property information from class with const getter.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)())Constructs boolean property information.
PropertyInfo(String, void(ClassType::)(bool), bool(ClassType::)() const)Constructs boolean property information from class with const getter.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)())Constructs int64_t property information.
PropertyInfo(String, void(ClassType::)(int64_t), int64_t(ClassType::)() const)Constructs int64_t property information from class with const getter.
set_PropertyType(const TypeInfo&)Sets the type of this property.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>)Sets property value to specific object.
SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>)Sets property value to specific object.

See Also