KeyTimeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método

Definición

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

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ type);
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type type);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (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