System::Reflection::FieldInfo::GetValue 方法

FieldInfo::GetValue method

从特定对象获取属性值。

System::SharedPtr<System::Object> System::Reflection::FieldInfo::GetValue(const System::SharedPtr<System::Object> &obj)
参数类型描述
objconst System::SharedPtr<System::Object>&Object 用于读取属性的对象。

ReturnValue

指定对象的指定属性的值。

另见