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
context
ITypeDescriptorContextAn ITypeDescriptorContext that provides a format context.
culture
CultureInfoThe CultureInfo to use as the current culture.
value
objectThe object to convert.
destinationType
TypeThe type to convert the object to.
Returns
- object
An object that represents the converted value.