PropertyPathConverter.CanConvertTo(ITypeDescriptorContext, Type) Metodo

Definizione

Indica se questo convertitore può convertire l'oggetto nel tipo PropertyPath.

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

true se destinationType è di tipo String; in caso contrario, false.

Si applica a