[This is preliminary documentation and is subject to change.]
Converts the given value object to the specified type, using the
specified context and culture information.
Declaration Syntax
C# |
public override Object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType )
Parameters
- context (ITypeDescriptorContext)
- A ITypeDescriptorContext that provides a format context.
- culture (CultureInfo)
- A CultureInfo. If null is passed, the current culture is assumed.
- value (Object)
- The object to convert.
- destinationType (Type)
- The Type to convert the value parameter to.
Return Value
An Object that represents the converted value.