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)
ParameterTypeΠεριγραφή
objSystem::SharedPtr<System::Object>Object για να γράψετε την ιδιότητα σε
τιμήSystem::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)
ParameterTypeΠεριγραφή
objSystem::SharedPtr<System::Object>Object για να γράψετε την ιδιότητα σε
δείκτηςSystem::SharedPtr<System::Object>Αυτές είναι προαιρετικές τιμές δείκτη για ιδιότητες με δείκτη. Για ιδιότητες χωρίς δείκτη, αυτή η τιμή πρέπει να είναι null.
τιμήSystem::ArrayPtr<System::SharedPtr<System::Object>>Τιμή της ιδιότητας προς ορισμό.

Δείτε επίσης