System::Drawing::ImageFormatConverter::ConvertTo metod
Innehåll
[
Dölj
]ImageFormatConverter::ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext>&, const SharedPtr<Globalization::CultureInfo>&, const SharedPtr<Object>&, const TypeInfo&) method
Konverterar objekt till en specifik typ.
SharedPtr<Object> System::Drawing::ImageFormatConverter::ConvertTo(const SharedPtr<ComponentModel::ITypeDescriptorContext> &context, const SharedPtr<Globalization::CultureInfo> &culture, const SharedPtr<Object> &value, const TypeInfo &destinationType) override
| Parameter | Type | Beskrivning |
|---|---|---|
| context | const SharedPtr<ComponentModel::ITypeDescriptorContext>& | Object konverteringskontextinformation. |
| kultur | const SharedPtr<Globalization::CultureInfo>& | Kultur att använda vid konvertering av objekt. |
| value | const SharedPtr<Object>& | Object att konvertera. |
| destinationType | const TypeInfo& | Typ att konvertera till. |
ReturnValue
Konverterat objekt.
Se även
- Typedef SharedPtr
- Class Object
- Class ITypeDescriptorContext
- Class CultureInfo
- Class TypeInfo
- Class ImageFormatConverter
- Namespace System::Drawing
- Library Aspose.Page for C++
ImageFormatConverter::ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
Konverterar objekt till en specifik typ.
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 | Type | Beskrivning |
|---|---|---|
| context | const System::SharedPtr<ITypeDescriptorContext>& | Object konverteringskontextinformation. |
| kultur | const System::SharedPtr<System::Globalization::CultureInfo>& | Kultur att använda vid konvertering av objekt. |
| value | const System::SharedPtr<System::Object>& | Object att konvertera. |
| destinationType | const System::TypeInfo& | Typ att konvertera till. |
ReturnValue
Konverterat objekt.
Se även
- Typedef SharedPtr
- Class Object
- Class CultureInfo
- Class TypeInfo
- Class ImageFormatConverter
- Namespace System::Drawing
- Library Aspose.Page for C++
ImageFormatConverter::ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
Konverterar objekt till en specifik typ.
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
| Parameter | Type | Beskrivning |
|---|---|---|
| value | const System::SharedPtr<System::Object>& | Object att konvertera. |
| destinationType | const System::TypeInfo& | Typ att konvertera till. |
ReturnValue
Konverterat objekt.
Se även
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class ImageFormatConverter
- Namespace System::Drawing
- Library Aspose.Page for C++