CornerRadiusConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método

Definición

Indica si un objeto se puede convertir de un tipo determinado 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

Parámetros

typeDescriptorContext
ITypeDescriptorContext

Describe la información de contexto de un tipo.

sourceType
Type

Type Origen que se está consultando para obtener compatibilidad con la conversión.

Devoluciones

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

Se aplica a