Converts the given value object to the specified type.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type type
)
Visual Basic
Public Overrides Function ConvertTo ( _
	context As ITypeDescriptorContext, _
	culture As CultureInfo, _
	value As Object, _
	type As Type _
) As Object

Parameters

context
Type: System.ComponentModel..::..ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture
Type: System.Globalization..::..CultureInfo
A CultureInfo. If a null reference (Nothing in Visual Basic) is passed, the current culture is assumed.
value
Type: System..::..Object
The object to convert.
type
Type: System..::..Type
The Type to convert the value parameter to.

Return Value

An Object that represents the converted value.

See Also