ImplementationVersionConverter.CanConvertTo 方法

定义

确定是否可以将指定类型转换为。

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

参数

context
ITypeDescriptorContext

用于转换的上下文信息。

destinationType
Type

要转换为的类型。

返回

true 如果可以转换为指定类型,则为否则,为 false.

适用于