System::Drawing::ImageConverter::ConvertTo Methode

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

Konvertiert ein Objekt in einen spezifischen Typ.

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
ParameterTypBeschreibung
contextconst System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>&Object Konvertierungskontextinformationen
Kulturconst System::SharedPtr<System::Globalization::CultureInfo>&Kultur, die beim Konvertieren von Objekten verwendet wird
Wertconst System::SharedPtr<System::Object>&Ein Objekt zum Konvertieren.
destinationTypeconst System::TypeInfo&Ein Typ, zu dem konvertiert werden soll.

ReturnValue

Konvertiertes Objekt.

Siehe auch

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

Konvertiert ein Objekt in einen spezifischen Typ.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
ParameterTypBeschreibung
valueconst System::SharedPtr<System::Object>&Object zum Konvertieren.
destinationTypeconst System::TypeInfo&Typ, zu dem konvertiert werden soll.

ReturnValue

Konvertiertes Objekt.

Siehe auch