System::Reflection::PropertyInfo::GetValue メソッド

PropertyInfo::GetValue(System::SharedPtr<System::Object>) method

特定のオブジェクトからプロパティの値を取得します。

System::SharedPtr<System::Object> System::Reflection::PropertyInfo::GetValue(System::SharedPtr<System::Object> obj)
パラメーター説明
objSystem::SharedPtr<System::Object>プロパティを読み取るための Object

ReturnValue

指定されたオブジェクトの指定されたプロパティの値。

参照

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)
パラメーター説明
objSystem::SharedPtr<System::Object>プロパティを読み取るための Object
インデクサSystem::ArrayPtr<System::SharedPtr<System::Object>>これらはインデックス付きプロパティのオプションのインデックス値です。インデックスなしプロパティの場合、この値は null にする必要があります。

ReturnValue

指定されたオブジェクトの指定されたプロパティの値。

参照