語言

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

正在評估轉換的來源類型。

傳回

true若型別可轉換為 KeySpline;否則 。 false

適用於