CornerRadiusConverter.CanConvertFrom(ITypeDescriptorContext, Type) Metodo

Definizione

Indica se un oggetto può essere convertito da un tipo specifico a CornerRadius.

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

Parametri

typeDescriptorContext
ITypeDescriptorContext

Descrive le informazioni di contesto di un tipo.

sourceType
Type

Oggetto Type di origine sottoposto a query per verificare se la conversione è supportata.

Restituisce

Boolean

true se sourceType è di tipo String ; in caso contrario, false.

Si applica a