語言

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

適用於