Taal

DurationConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definitie

Bepaalt of conversie naar een opgegeven type mogelijk is.

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

Parameters

context
ITypeDescriptorContext

Contextinformatie die wordt gebruikt voor conversie.

destinationType
Type

Type dat wordt geƫvalueerd voor conversie.

Retouren

true als destinationType van het type Stringis; anders, false.

Van toepassing op