PaddingConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definitie

Retourneert of dit conversieprogramma het object kan converteren naar het opgegeven type, met behulp van de opgegeven context.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
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

De indelingscontext.

destinationType
Type

Het type waarnaar u wilt converteren.

Retouren

true als dit conversieprogramma de conversie kan uitvoeren; anders, false.

Van toepassing op