PropertyPathConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Gibt zurück, ob dieser Konverter das Objekt in den PropertyPath Typ konvertieren kann.

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

Parameter

typeDescriptorContext
ITypeDescriptorContext

Ein ITypeDescriptorContext Formatkontext.

destinationType
Type

Ein Type Wert, der den Typ darstellt, in den Sie konvertieren möchten.

Gibt zurück

true if destinationType is type String; otherwise, false.

Gilt für: