Idioma

PropertyPathConverter.CanConvertTo(ITypeDescriptorContext, Type) Método

Definição

Devolve se este conversor pode converter o objeto para o PropertyPath tipo.

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

E ITypeDescriptorContext isso fornece um contexto de formato.

destinationType
Type

A que representa o tipo para o qual Type queres converter.

Devoluções

true se destinationType for do tipo String; caso contrário, false.

Aplica-se a