Converts the given value object to the specified type, using the specified context and culture information.
Namespace:
C1.Silverlight.ScheduleAssembly: C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)
Syntax
C# |
---|
public override Object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType ) |
Visual Basic |
---|
Public Overrides Function ConvertTo ( _ context As ITypeDescriptorContext, _ culture As CultureInfo, _ value As Object, _ destinationType As Type _ ) As Object |
Parameters
- context
- Type: System.ComponentModel..::..ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
- culture
- Type: System.Globalization..::..CultureInfo
The CultureInfo to use as the current culture.
- value
- Type: System..::..Object
The Object to convert.
- destinationType
- Type: System..::..Type
A Type that represents the type you want to convert to.