Point3DCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

傳回值,這個值表示這個型別轉換子是否可以轉換為指定的型別。

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

要查詢是否受到支援的型別。

傳回

如果這個轉換子可以從提供的型別進行轉換,則為 true,否則為 false

適用於