FontStretchConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

判斷 FontStretch 的執行個體是否可轉換成不同型別。

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

正在評估 FontStretch 的此執行個體,應轉換為何種類型。

傳回

如果轉換子可以將 FontStretch 轉換為 destinationType 則為 true,否則為 false

適用於