[]
        
(Showing Draft Content)

C1.C1Preview.C1PageSettings.PageSettingsTypeConverter.ConvertTo

ConvertTo Method

ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)

Converts the given value object to the specified type.

Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type type)
Parameters
Type Name Description
ITypeDescriptorContext context

An ITypeDescriptorContext that provides a format context.

CultureInfo culture

A CultureInfo. If a null reference (Nothing in Visual Basic) is passed, the current culture is assumed.

object value

The object to convert.

Type type

The Type to convert the value parameter to.

Returns
Type Description
object

An Object that represents the converted value.

Overrides