System::ComponentModel::TypeConverter::ConvertTo method
Contents
[
Hide
]TypeConverter::ConvertTo(const System::SharedPtr<ITypeDescriptorContext>&, const System::SharedPtr<System::Globalization::CultureInfo>&, const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
Converts object to specific type.
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 | Description |
---|---|---|
context | const System::SharedPtr<ITypeDescriptorContext>& | Object conversion context information. |
culture | const System::SharedPtr<System::Globalization::CultureInfo>& | Culture to use when converting objects. |
value | const System::SharedPtr<System::Object>& | Object to convert. |
destinationType | const System::TypeInfo& | Type to convert to. |
ReturnValue
Converted object.
See Also
- Typedef SharedPtr
- Class Object
- Class ITypeDescriptorContext
- Class CultureInfo
- Class TypeInfo
- Class TypeConverter
- Namespace System::ComponentModel
- Library Aspose.PDF for C++
TypeConverter::ConvertTo(const System::SharedPtr<System::Object>&, const System::TypeInfo&) method
Converts object to specific type.
System::SharedPtr<System::Object> System::ComponentModel::TypeConverter::ConvertTo(const System::SharedPtr<System::Object> &value, const System::TypeInfo &destinationType)
Parameter | Type | Description |
---|---|---|
value | const System::SharedPtr<System::Object>& | Object to convert. |
destinationType | const System::TypeInfo& | Type to convert to. |
ReturnValue
Converted object.
See Also
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class TypeConverter
- Namespace System::ComponentModel
- Library Aspose.PDF for C++