DialogResultConverter.CanConvertTo(ITypeDescriptorContext, Type) Método

Definición

DialogResultConverter no admite la conversión de DialogResult (un Nullable<T> valor de tipo Boolean) a otros tipos.

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

Parámetros

typeDescriptorContext
ITypeDescriptorContext

que ITypeDescriptorContext proporciona un contexto de formato.

destinationType
Type

Type que representa el tipo al que se va a convertir.

Devoluciones

que Boolean siempre devuelve false.

Se aplica a

Consulte también