## PropertyInfo class


表示属性信息。

```cpp
class PropertyInfo : public System::Reflection::MemberInfo
```

## 方法

| 方法 | 描述 |
| --- | --- |
| [get_MemberType](./get_membertype/)() const override | 获取一个指示此成员为属性的 [MemberTypes](../membertypes/) 值。 |
| [get_PropertyType](./get_propertytype/)() | 获取属性类型。 |
| [GetValue](./getvalue/)(System::SharedPtr\<System::Object\>) | 从特定对象获取属性值。 |
| [GetValue](./getvalue/)(System::SharedPtr\<System::Object\>, System::ArrayPtr\<System::SharedPtr\<System::Object\>\>) | 从特定对象获取属性值。 |
| [PropertyInfo](./propertyinfo/)(String, System::SharedPtr\<PropertyType\>(ClassType::*)() const) | 构造函数。仅具有 const getter 的属性。 |
| [PropertyInfo](./propertyinfo/)(String, System::SharedPtr\<PropertyType\>(ClassType::*)()) | 构造函数。仅具有非 const getter 的属性。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(System::SharedPtr\<PropertyType\>), System::SharedPtr\<PropertyType\>(ClassType::*)() const) | 构造函数。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(System::Nullable\<NullableType\>), System::Nullable\<NullableType\>(ClassType::*)()) | 构造函数。[Nullable](../../system/nullable/) 属性，具有 setter 和 getter。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(System::Nullable\<NullableType\>), System::Nullable\<NullableType\>(ClassType::*)() const) | 构造函数。[Nullable](../../system/nullable/) 属性，仅具有 const getter。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(System::SharedPtr\<PropertyType\>), System::SharedPtr\<PropertyType\>(ClassType::*)()) | 构造函数。[Object](../../system/object/) 属性，仅具有 getter。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(System::String), System::String(ClassType::*)()) | 构造字符串属性信息。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(System::String), System::String(ClassType::*)() const) | 从具有 const getter 的类构造字符串属性信息。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(System::Decimal), System::Decimal(ClassType::*)()) | 构造 [Decimal](../../system/decimal/) 属性信息。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(System::Decimal), System::Decimal(ClassType::*)() const) | 从具有 const getter 的类构造 [Decimal](../../system/decimal/) 属性信息。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(bool), bool(ClassType::*)()) | 构造布尔属性信息。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(bool), bool(ClassType::*)() const) | 从具有 const getter 的类构建布尔属性信息。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(int64_t), int64_t(ClassType::*)()) | 构建 int64_t 属性信息。 |
| [PropertyInfo](./propertyinfo/)(String, void(ClassType::*)(int64_t), int64_t(ClassType::*)() const) | 从具有 const getter 的类构建 int64_t 属性信息。 |
| [set_PropertyType](./set_propertytype/)(const TypeInfo\&) | 设置此属性的类型。 |
| [SetValue](./setvalue/)(System::SharedPtr\<System::Object\>, System::SharedPtr\<System::Object\>) | 将属性值设置到特定对象。 |
| [SetValue](./setvalue/)(System::SharedPtr\<System::Object\>, System::SharedPtr\<System::Object\>, System::ArrayPtr\<System::SharedPtr\<System::Object\>\>) | 将属性值设置到特定对象。 |
## 另见

* Class [MemberInfo](../memberinfo/)
* Namespace [System::Reflection](../)
* Library [Aspose.Font for C++](../../)
