KeyTimeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método

Definição

Determina se um objeto pode ser convertido de um determinado tipo em uma instância de um 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

Informações contextuais necessárias para conversão.

type
Type

Tipo que está sendo avaliado para conversão.

Retornos

true se esse tipo puder ser convertido; caso contrário, false.

Aplica-se a