ImplementationVersionConverter.CanConvertTo Metod

Definition

Avgör om den angivna typen kan konverteras till.

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

Parametrar

context
ITypeDescriptorContext

Kontextinformation som används för konvertering.

destinationType
Type

Den typ som ska konverteras till.

Returer

trueom den angivna typen kan konverteras till; annars . false

Gäller för