Compartir vía


BaseIListConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método

Definición

Determina si se puede convertir un tipo determinado.

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ td, Type ^ t);
public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext td, Type t);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (td As ITypeDescriptorContext, t As Type) As Boolean

Parámetros

td
ITypeDescriptorContext

Proporciona la información contextual necesaria para la conversión.

t
Type

Tipo que se evalúa para la conversión.

Devoluciones

Boolean

Es true si este tipo se puede convertir; de lo contrario, es false.

Comentarios

String es el único tipo admitido para la conversión.

Se aplica a