語言

CornerRadiusConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

判斷值是否 CornerRadius 能轉換為指定型別。

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

參數

typeDescriptorContext
ITypeDescriptorContext

描述一種類型的上下文資訊。

destinationType
Type

正在評估並轉換成的目標類型 CornerRadius 。

傳回

true 若 destinationType 型別 String為 ;否則,則 false。

適用於