語言

VectorConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

判斷 的 Vector 實例是否能轉換為指定型別。

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

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

傳回

true 若 的 Vector 實例可轉換為 destinationType;否則, false。

適用於