Lenguaje

InputScopeConverter.CanConvertTo(ITypeDescriptorContext, Type) Método

Definición

Determina si un InputScope objeto se puede convertir en un objeto de un tipo especificado.

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

Objeto que describe cualquier contexto de descriptor de tipo. Este objeto debe implementar la ITypeDescriptorContext interfaz . Este parámetro puede ser NULL.

destinationType
Type

que Type se va a comprobar si hay compatibilidad con la conversión.

Devoluciones

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

Se aplica a