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

PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>) method

特定のオブジェクトにプロパティの値を設定します。

void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value)
パラメーター説明
objSystem::SharedPtr<System::Object>プロパティを書き込むための Object
valueSystem::SharedPtr<System::Object>設定するプロパティの値。

参照

PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>) method

特定のオブジェクトにプロパティの値を設定します。

void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
パラメーター説明
objSystem::SharedPtr<System::Object>プロパティを書き込むための Object
インデクサSystem::SharedPtr<System::Object>これらはインデックス付きプロパティのオプションのインデックス値です。インデックスなしプロパティの場合、この値は null にする必要があります。
valueSystem::ArrayPtr<System::SharedPtr<System::Object>>設定するプロパティの値。

参照