Compartir vía


CornerRadiusConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método

Definición

Indica si un objeto puede convertirse del tipo especificado en una estructura 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

Parámetros

typeDescriptorContext
ITypeDescriptorContext

Describe la información de contexto de un tipo.

sourceType
Type

Objeto Type de origen que se consulta para la compatibilidad de conversión.

Devoluciones

Boolean

true si sourceType es de tipo String; en caso contrario, false.

Se aplica a