LinkConverter.CanConvertTo(ITypeDescriptorContext, Type) Método

Definição

Recupera um valor que determina se isso LinkConverter pode converter um objeto com o contexto especificado no tipo especificado.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, Type? destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

Parâmetros

context
ITypeDescriptorContext

Um ITypeDescriptorContext fornecimento de informações contextuais sobre o objeto a ser convertido.

destinationType
Type

O tipo para o qual converter o objeto.

Retornos

true se isso LinkConverter puder converter o objeto especificado; caso contrário, false.

Aplica-se a

Confira também