System::Drawing::ImageFormatConverter::ConvertTo method

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

Mengonversi objek ke tipe tertentu.

SharedPtr<Object> System::Drawing::ImageFormatConverter::ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext> &context, const SharedPtr<Globalization::CultureInfo> &culture, const SharedPtr<Object> &value, const TypeInfo &destinationType) override
ParameterTipeDeskripsi
contextconst SharedPtr<ComponentModel::ITypeDescriptorContext>&Object informasi konteks konversi.
budayaconst SharedPtr<Globalization::CultureInfo>&Budaya yang digunakan saat mengonversi objek.
valueconst SharedPtr<Object>&Object untuk dikonversi.
destinationTypeconst TypeInfo&Tipe untuk dikonversi ke.

ReturnValue

Objek yang dikonversi.

Lihat Juga

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

Mengonversi objek ke tipe tertentu.

virtual System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<ITypeDescriptorContext> &context, const System::SharedPtr<System::Globalization::CultureInfo> &culture, const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
ParameterTipeDeskripsi
contextconst System::SharedPtr<ITypeDescriptorContext>&Object informasi konteks konversi.
budayaconst System::SharedPtr<System::Globalization::CultureInfo>&Budaya yang digunakan saat mengonversi objek.
valueconst System::SharedPtr<System::Object>&Object untuk dikonversi.
destinationTypeconst System::TypeInfo&Tipe untuk dikonversi ke.

ReturnValue

Objek yang dikonversi.

Lihat Juga

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

Mengonversi objek ke tipe tertentu.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
ParameterTipeDeskripsi
valueconst System::SharedPtr<System::Object>&Object untuk dikonversi.
destinationTypeconst System::TypeInfo&Tipe untuk dikonversi ke.

ReturnValue

Objek yang dikonversi.

Lihat Juga