System::Drawing::ImageConverter::ConvertTo 方法
内容
[
隐藏
]ImageConverter::ConvertTo(const System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
将对象转换为特定类型。
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
| 参数 | 类型 | 描述 |
|---|---|---|
| context | const System::SharedPtr<System::ComponentModel::ITypeDescriptorContext>& | Object 转换上下文信息 |
| 文化 | const System::SharedPtr<System::Globalization::CultureInfo>& | 在转换对象时使用的区域性 |
| 值 | const System::SharedPtr<System::Object>& | 要转换的对象。 |
| destinationType | const System::TypeInfo& | 要转换到的类型。 |
ReturnValue
已转换的对象。
另见
- Typedef SharedPtr
- Class Object
- Class ITypeDescriptorContext
- Class CultureInfo
- Class TypeInfo
- Class ImageConverter
- Namespace System::Drawing
- Library Aspose.Font for C++
ImageConverter::ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
将对象转换为特定类型。
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
| 参数 | 类型 | 描述 |
|---|---|---|
| value | const System::SharedPtr<System::Object>& | Object 要转换的。 |
| destinationType | const System::TypeInfo& | 要转换到的类型。 |
ReturnValue
已转换的对象。
另见
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class ImageConverter
- Namespace System::Drawing
- Library Aspose.Font for C++