Tests whether an object can be converted to the specified type.

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

Syntax

C#
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type type
)
Visual Basic
Public Overrides Function CanConvertTo ( _
	context As ITypeDescriptorContext, _
	type As Type _
) As Boolean

Parameters

context
Type: System.ComponentModel..::..ITypeDescriptorContext
The conversion context.
type
Type: System..::..Type
The target type.

Return Value

true if the conversion can be performed, false otherwise.

See Also