System::Reflection::PropertyInfo::SetValue méthode
Contenu
[
Cacher
]PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>) method
Définit la valeur de la propriété pour un objet spécifique.
void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value)
| Paramètre | Type | Description |
|---|---|---|
| obj | System::SharedPtr<System::Object> | Object sur lequel écrire la propriété. |
| valeur | System::SharedPtr<System::Object> | Valeur de la propriété à définir. |
Voir aussi
- Typedef SharedPtr
- Class Object
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.Font for C++
PropertyInfo::SetValue(System::SharedPtr<System::Object>, System::SharedPtr<System::Object>, System::ArrayPtr<System::SharedPtr<System::Object>>) method
Définit la valeur de la propriété pour un objet spécifique.
void System::Reflection::PropertyInfo::SetValue(System::SharedPtr<System::Object> obj, System::SharedPtr<System::Object> value, System::ArrayPtr<System::SharedPtr<System::Object>> indexer)
| Paramètre | Type | Description |
|---|---|---|
| obj | System::SharedPtr<System::Object> | Object sur lequel écrire la propriété. |
| indexeur | System::SharedPtr<System::Object> | Ce sont des valeurs d’index facultatives pour les propriétés indexées. Pour les propriétés non indexées, cette valeur doit être nulle. |
| valeur | System::ArrayPtr<System::SharedPtr<System::Object>> | Valeur de la propriété à définir. |
Voir aussi
- Typedef SharedPtr
- Class Object
- Typedef ArrayPtr
- Class PropertyInfo
- Namespace System::Reflection
- Library Aspose.Font for C++