KeyTimeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Metodo

Definizione

Determina se un oggetto può essere convertito da un determinato tipo a un'istanza di .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

Parametri

typeDescriptorContext
ITypeDescriptorContext

Informazioni contestuali necessarie per la conversione.

type
Type

Tipo valutato per la conversione.

Valori restituiti

true se questo tipo può essere convertito; in caso contrario, false.

Si applica a