Språk

KeySplineConverter.CanConvertFrom(ITypeDescriptorContext, Type) Metod

Definition

Avgör om ett objekt kan konverteras från en viss typ till en instans av en 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

Parametrar

typeDescriptor
ITypeDescriptorContext

Beskriver kontextinformationen för en typ.

destinationType
Type

Typen av källa som utvärderas för konvertering.

Returer

true om typen kan konverteras till en KeySpline, annars , false.

Gäller för