Share via


ActionTypeConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Specifies whether the action type converter can convert to a specified destination object.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameters

context
ITypeDescriptorContext

The context.

destinationType
Type

The destination type.

Returns

True if the action type converter can convert to a specified destination object; otherwise, false.

Applies to