KeySplineConverter.CanConvertFrom(ITypeDescriptorContext, Type) 方法

定義

判斷物件是否可從指定的型別轉換為 KeySpline 的執行個體。

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

參數

typeDescriptor
ITypeDescriptorContext

描述類型的內容資訊。

destinationType
Type

正在評估以進行轉換之來源的型別。

傳回

Boolean

如果型別可轉換為 KeySpline,則為 true,否則為 false

適用於