System::Drawing::FontConverter::ConvertTo method

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

Mengonversi objek ke tipe tertentu.

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

ReturnValue

Objek yang dikonversi.

Lihat Juga

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

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