PropertyPathConverter.CanConvertTo(ITypeDescriptorContext, Type) Yöntem

Tanım

Bu dönüştürücü, nesneyi türüne PropertyPath dönüştürebilir olup olmadığını döndürür.

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

Parametreler

typeDescriptorContext
ITypeDescriptorContext

Biçim ITypeDescriptorContext bağlamı sağlayan.

destinationType
Type

Type Dönüştürmek istediğiniz türü temsil eden bir.

Döndürülenler

trueyazındestinationType; String değilse, falseyazın.

Şunlara uygulanır