System::Drawing::ImageFormatConverter::ConvertTo metodu

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

Nesneyi belirli bir tipe dönüştürür.

SharedPtr<Object> System::Drawing::ImageFormatConverter::ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext> &context, const SharedPtr<Globalization::CultureInfo> &culture, const SharedPtr<Object> &value, const TypeInfo &destinationType) override
ParametreTürAçıklama
contextconst SharedPtr<ComponentModel::ITypeDescriptorContext>&Object dönüştürme bağlamı bilgisi.
kültürconst SharedPtr<Globalization::CultureInfo>&Nesneleri dönüştürürken kullanılacak kültür.
valueconst SharedPtr<Object>&Object dönüştürülecek.
destinationTypeconst TypeInfo&Dönüştürülecek tür.

ReturnValue

Dönüştürülmüş nesne.

Ayrıca Bakınız

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

Nesneyi belirli bir tipe dönüştürür.

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)
ParametreTürAçıklama
contextconst System::SharedPtr<ITypeDescriptorContext>&Object dönüştürme bağlamı bilgisi.
kültürconst System::SharedPtr<System::Globalization::CultureInfo>&Nesneleri dönüştürürken kullanılacak kültür.
valueconst System::SharedPtr<System::Object>&Object dönüştürülecek.
destinationTypeconst System::TypeInfo&Dönüştürülecek tür.

ReturnValue

Dönüştürülmüş nesne.

Ayrıca Bakınız

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

Nesneyi belirli bir tipe dönüştürür.

System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
ParametreTürAçıklama
valueconst System::SharedPtr<System::Object>&Object dönüştürülecek.
destinationTypeconst System::TypeInfo&Dönüştürülecek tür.

ReturnValue

Dönüştürülmüş nesne.

Ayrıca Bakınız