ActionTypeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Method

Definition

Specifies whether the action type converter can convert from a specified source object.

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

Parameters

context
ITypeDescriptorContext

The context.

sourceType
Type

The source type.

Returns

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

Applies to