Share via


Int32CollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

判斷轉換子是否可將 Int32Collection 轉換成指定的資料型別。

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

評估要轉換成的目標型別。

傳回

如果 Int32Collection 可以轉換成 destinationType 則為 true,否則為 false

適用於