Back to API Home

Converts the specified value object to the specified type.

Namespace: Dundas.Dashboard.DashboardControls.Extensibility
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

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 object 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
The type to convert the object to.

Return Value

Type: Object
The converted object.

Exceptions

See Also