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++