Point4DConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

判斷 Point4D 結構的執行個體是否可以轉換為不同型別。

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

要評估這個 Point4D 結構是否可以轉換到的型別。

傳回

Boolean

表示這個 Point4D 結構是否可以轉換為 destinationType

意義
false 轉換子無法將這個 Point4D 結構轉換為指定的型別。
true 轉換子可以將這個 Point4D 結構轉換為指定的型別。

適用於