Idioma

PropertyPathConverter.CanConvertTo(ITypeDescriptorContext, Type) Método

Definição

Retorna se esse conversor pode converter o objeto no 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

Um ITypeDescriptorContext que fornece um contexto de formato.

destinationType
Type

Um Type que representa o tipo no qual você deseja converter.

Retornos

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

Aplica-se a