Méthode System::Drawing::ImageConverter::ConvertTo
Contenu
[
Cacher
]ImageConverter::ConvertTo(const System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
Convertit un objet en type spécifique.
System::SharedPtr<System::Object> System::Drawing::ImageConverter::ConvertTo(const System::SharedPtr<System::ComponentModel::ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType) override
| Paramètre | Type | Description |
|---|---|---|
| context | const System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>& | Object informations de contexte de conversion |
| culture | const System::SharedPtr<System::Globalization::CultureInfo>& | Culture à utiliser lors de la conversion des objets |
| valeur | const System::SharedPtr<System::Object>& | Un objet à convertir. |
| destinationType | const System::TypeInfo& | Un type vers lequel convertir. |
ReturnValue
Objet converti.
Voir aussi
- Typedef SharedPtr
- Class Object
- Class ITypeDescriptorContext
- Class CultureInfo
- Class TypeInfo
- Class ImageConverter
- Namespace System::Drawing
- Library Aspose.Font for C++
ImageConverter::ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
Convertit un objet en type spécifique.
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
| Paramètre | Type | Description |
|---|---|---|
| value | const System::SharedPtr<System::Object>& | Object à convertir. |
| destinationType | const System::TypeInfo& | Type vers lequel convertir. |
ReturnValue
Objet converti.
Voir aussi
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class ImageConverter
- Namespace System::Drawing
- Library Aspose.Font for C++