System::Drawing::ImageConverter::ConvertTo yöntemi

ImageConverter::ConvertTo(const System::SharedPtr<System::ComponentModel::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.

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

ReturnValue

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

Ayrıca Bakınız

ImageConverter::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