System::Reflection::PropertyInfo::GetValue 方法
PropertyInfo::GetValue(System::SharedPtr<System::Object>) method
从特定对象获取属性值。
System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj)
| 参数 | 类型 | 描述 |
|---|---|---|
| obj | System::SharedPtr<System::Object> | Object 用于读取属性的对象。 |
ReturnValue
指定对象的指定属性的值。
另见
- Typedef SharedPtr
- Class Object
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.Font for C++
PropertyInfo::GetValue(System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>) method
从特定对象获取属性值。
System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
| 参数 | 类型 | 描述 |
|---|---|---|
| obj | System::SharedPtr<System::Object> | Object 用于读取属性的对象。 |
| 索引器 | System::ArrayPtr<System::SharedPtr<System::Object>> | 这些是索引属性的可选索引值。对于非索引属性,此值应为 null。 |
ReturnValue
指定对象的指定属性的值。
另见
- Typedef SharedPtr
- Class Object
- Typedef ArrayPtr
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.Font for C++