TypeConverterConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type) |
Converts to the specified type.
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public virtual Object ConvertTo(
ITypeDescriptorContext context,
CultureInfo culture,
Object value,
Type destinationType
)
Public Overridable Function ConvertTo (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object,
destinationType As Type
) As Object
abstract ConvertTo :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object *
destinationType : Type -> Object
override ConvertTo :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object *
destinationType : Type -> Object
Parameters
- context
- Type: EtoITypeDescriptorContext
Context. - culture
- Type: System.GlobalizationCultureInfo
Culture. - value
- Type: SystemObject
Value to convert. - destinationType
- Type: SystemType
Destination type to convert to.
Return Value
Type:
ObjectThe converted object.
See Also