Method ConvertTo
- Namespace
- Innova.Data.AppSettings
- Assembly
- Innova.Data.dll
ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Converts the specified object to the specified destination type.
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
contextITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.
cultureCultureInfoThe CultureInfo to use as the current culture.
valueobjectThe object to convert.
destinationTypeTypeThe type to convert the object to.
Returns
- object
An object that represents the converted value.