DialogResultConverter.CanConvertTo(ITypeDescriptorContext, Type) Metodo

Definizione

DialogResultConverter non supporta la conversione da DialogResult (un valore Nullable<T> di tipo Boolean) in altri tipi.

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

Parametri

typeDescriptorContext
ITypeDescriptorContext

Oggetto ITypeDescriptorContext che fornisce un contesto di formato.

destinationType
Type

Oggetto Type che rappresenta il tipo in cui eseguire la conversione.

Restituisce

Un Boolean che restituisce sempre false.

Si applica a

Vedi anche