TypeConverterConvertTo Method (Object, Type) |
Converts to the specified type.
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public Object ConvertTo(
Object value,
Type destinationType
)
Public Function ConvertTo (
value As Object,
destinationType As Type
) As Object
member ConvertTo :
value : Object *
destinationType : Type -> Object
Parameters
- value
- Type: SystemObject
Value to convert. - destinationType
- Type: SystemType
Destination type to convert to.
Return Value
Type:
ObjectThe converted object.
See Also