ListBindingConverter.CanConvertTo(ITypeDescriptorContext, Type) Método

Definición

Devuelve si este convertidor puede convertir el objeto al tipo especificado, con el contexto especificado.

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

Parámetros

context
ITypeDescriptorContext

ITypeDescriptorContext que ofrece un contexto de formato.

destinationType
Type

Type que representa el tipo al que se quiere convertir.

Devoluciones

true si este convertidor puede realizar la conversión; en caso contrario, false.

Se aplica a

Consulte también