語言

VectorCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

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

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

你需要的類型,你正在評估這 VectorCollection 件事以進行轉換。

傳回

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

適用於