語言

PointConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

判斷 a Point 的實例是否能轉換成其他類型。

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

目前正在評估轉換所需的類型 Point 。

傳回

true 如果這可以 Point 轉換成 destinationType;否則, false。

適用於