System::Drawing::FontConverter::ConvertTo метод
Содержание
[
Скрывать
]FontConverter::ConvertTo(const System::SharedPtr<ComponentModel::ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
Преобразует объект в конкретный тип.
System::SharedPtr<System::Object> System::Drawing::FontConverter::ConvertTo(const System::SharedPtr<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<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 FontConverter
- Namespace System::Drawing
- Library Aspose.Font for C++
FontConverter::ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
Преобразует объект в конкретный тип.
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)
| Параметр | Тип | Описание |
|---|---|---|
| context | const System::SharedPtr<ITypeDescriptorContext>& | Object информация о контексте преобразования. |
| культура | const System::SharedPtr<System::Globalization::CultureInfo>& | Культура, используемая при преобразовании объектов. |
| value | const System::SharedPtr<System::Object>& | Object для преобразования. |
| destinationType | const System::TypeInfo& | Тип для преобразования. |
ReturnValue
Преобразованный объект.
См. также
- Typedef SharedPtr
- Class Object
- Class CultureInfo
- Class TypeInfo
- Class FontConverter
- Namespace System::Drawing
- Library Aspose.Font for C++
FontConverter::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 FontConverter
- Namespace System::Drawing
- Library Aspose.Font for C++