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