Lenguaje

StrokeCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método

Definición

Devuelve un valor que indica si StrokeCollectionConverter puede convertir un objeto de un tipo especificado en .StrokeCollection

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

Parámetros

context
ITypeDescriptorContext

que ITypeDescriptorContext proporciona el contexto de formato.

sourceType
Type

del Type que se va a convertir.

Devoluciones

true StrokeCollectionConverter si puede convertir un objeto de tipo sourceType en ; StrokeCollectionde lo contrario, false.

Se aplica a