ComponentOne Scheduler for WPF and Silverlight
ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method

C1.WPF.Schedule Namespace > ObservableCollectionStringConverter Class > ConvertTo Method : ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
The System.Globalization.CultureInfo to use as the current culture.
The System.Object to convert.
A System.Type that represents the type you want to convert to.
Converts the given value object to the specified type, using the specified context and culture information.
Syntax
'Declaration
 
Public Overloads Overrides Function ConvertTo( _
   ByVal context As System.ComponentModel.ITypeDescriptorContext, _
   ByVal culture As System.Globalization.CultureInfo, _
   ByVal value As System.Object, _
   ByVal destinationType As System.Type _
) As System.Object
public override System.object ConvertTo( 
   System.ComponentModel.ITypeDescriptorContext context,
   System.Globalization.CultureInfo culture,
   System.object value,
   System.Type destinationType
)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
culture
The System.Globalization.CultureInfo to use as the current culture.
value
The System.Object to convert.
destinationType
A System.Type that represents the type you want to convert to.

Return Value

An System.Object that represents the converted value.
See Also

Reference

ObservableCollectionStringConverter Class
ObservableCollectionStringConverter Members
Overload List