Click or drag to resize

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
)

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: Object
The converted object.
See Also