Metode System::ComponentModel::TypeConverter::ConvertTo
isi
[
bersembunyi
]TypeConverter::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)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| context | const System::SharedPtr<ITypeDescriptorContext>& | Object informasi konteks konversi. |
| budaya | const System::SharedPtr<System::Globalization::CultureInfo>& | Budaya yang digunakan saat mengonversi objek. |
| value | const System::SharedPtr<System::Object>& | Object untuk dikonversi. |
| destinationType | const System::TypeInfo& | Tipe untuk dikonversi ke. |
ReturnValue
Objek yang dikonversi.
Lihat Juga
- Typedef SharedPtr
- Class Object
- Class ITypeDescriptorContext
- Class CultureInfo
- Class TypeInfo
- Class TypeConverter
- Namespace System::ComponentModel
- Library Aspose.Page for C++
TypeConverter::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)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| value | const System::SharedPtr<System::Object>& | Object untuk dikonversi. |
| destinationType | const System::TypeInfo& | Tipe untuk dikonversi ke. |
ReturnValue
Objek yang dikonversi.
Lihat Juga
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class TypeConverter
- Namespace System::ComponentModel
- Library Aspose.Page for C++