Méthode System::Drawing::ImageConverter::ConvertTo

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ètreTypeDescription
contextconst System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>&Object informations de contexte de conversion
cultureconst System::SharedPtr<System::Globalization::CultureInfo>&Culture à utiliser lors de la conversion des objets
valeurconst System::SharedPtr<System::Object>&Un objet à convertir.
destinationTypeconst System::TypeInfo&Un type vers lequel convertir.

ReturnValue

Objet converti.

Voir aussi

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ètreTypeDescription
valueconst System::SharedPtr<System::Object>&Object à convertir.
destinationTypeconst System::TypeInfo&Type vers lequel convertir.

ReturnValue

Objet converti.

Voir aussi