KeyGestureConverter.CanConvertTo(ITypeDescriptorContext, Type) KeyGestureConverter.CanConvertTo(ITypeDescriptorContext, Type) KeyGestureConverter.CanConvertTo(ITypeDescriptorContext, Type) KeyGestureConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definición

Determina si una instancia de KeyGesture puede convertirse en el tipo especificado usando el contexto indicado.Determines whether an instance of KeyGesture can be converted to the specified type, using the specified context.

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

Parámetros

context
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

Contexto de formato que proporciona información sobre el entorno desde el que se invoca este convertidor.A format context that provides information about the environment from which this converter is being invoked.

destinationType
Type Type Type Type

Tipo cuya conversión se evalúa.The type being evaluated for conversion.

Devoluciones

true, si destinationType es de tipo String; de lo contrario, false.true if destinationType is type String; otherwise, false.

Se aplica a