Converts an 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
The conversion context.
culture
Type: System.Globalization..::..CultureInfo
The culture to use.
value
Type: System..::..Object
The value to convert.
type
Type: System..::..Type
The target type.

Return Value

The converted object.

See Also