DateOnlyConverter.CanConvertTo(ITypeDescriptorContext, Type) Méthode

Définition

Obtient une valeur indiquant si ce convertisseur peut convertir un objet en objet du type de destination donné en utilisant le contexte.

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

Paramètres

context
ITypeDescriptorContext

ITypeDescriptorContext qui fournit un contexte de format.

destinationType
Type

Type vers lequel effectuer la conversion.

Retours

true si ce convertisseur peut effectuer la conversion ; sinon false.

S’applique à