Lenguaje

KeyTimeConverter.CanConvertTo(ITypeDescriptorContext, Type) Método

Definición

Determina si un tipo determinado se puede convertir en una instancia de KeyTime.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ type);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type type);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, type As Type) As Boolean

Parámetros

typeDescriptorContext
ITypeDescriptorContext

Información contextual necesaria para la conversión.

type
Type

Tipo que se está evaluando para la conversión.

Devoluciones

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

Se aplica a