Converts the given TimeOfDay into a string. If the destination type is not a string, then the default operation will be performed.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)
Visual Basic (Declaration)
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. This should be a TimeOfDay.
destinationType
Type: System..::.Type
The destination conversion type.

Return Value

A string representing the TimeOfDay.

See Also