System::Drawing::ImageConverter::ConvertTo metodo

ImageConverter::ConvertTo(const System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method

Converte l’oggetto in un tipo specifico.

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
ParametroTipoDescrizione
contextconst System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>&Object informazioni sul contesto di conversione
culturaconst System::SharedPtr<System::Globalization::CultureInfo>&Cultura da utilizzare durante la conversione degli oggetti
valoreconst System::SharedPtr<System::Object>&Un oggetto da convertire.
destinationTypeconst System::TypeInfo&Un tipo in cui convertire.

ReturnValue

Oggetto convertito.

Vedi anche

ImageConverter::ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) method

Converte l’oggetto in un tipo specifico.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
ParametroTipoDescrizione
valueconst System::SharedPtr<System::Object>&Object da convertire.
destinationTypeconst System::TypeInfo&Tipo in cui convertire.

ReturnValue

Oggetto convertito.

Vedi anche